Invoke-Command with ErrorAction SilentlyContinue still throws Exception

When running a script using Invoke-Command I call a program which prints to the error stream.  I have piped the error stream to the stdout and then Out-Null for the command I call and also set the ErrorAction to SilentlyContinue for Invoke-Command.  The exception is still propagated.
Steps to reproduce
Using the following files,
error.ps1.txt
cradle.ps1.txt
.\cradle.ps1

Expected behavior
Running
Before
After
Finished

Actual behavior
Running

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     False    CmdletBindingAttribute                   System.Management.Automation.CmdletCommonMetadataAttribute
Before
There was an error

PSMessageDetails      :
Exception             : System.Management.Automation.RemoteException: '1' is not recognized as an internal or external
                        command,
TargetObject          : '1' is not recognized as an internal or external command,
CategoryInfo          : NotSpecified: ('1' is not reco...ternal command,:String) [], RemoteException
FullyQualifiedErrorId : NativeCommandError
ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at <ScriptBlock>, C:\Users\Administrator.N22R1003-DVM\Desktop\Terasort\Error\error.ps1: line 7
                        at DoIt, C:\Users\Administrator.N22R1003-DVM\Desktop\Terasort\Error\error.ps1: line 6
                        at <ScriptBlock>, C:\Users\Administrator.N22R1003-DVM\Desktop\Terasort\Error\cradle.ps1: line
                        10
                        at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}

Finished

Environment data

> $PSVersionTable
Name                           Value
----                           -----
PSVersion                      5.1.14393.2395
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.2395
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

First, you need to try it on PowerShell Core, as this is only for PowerShell Core issues.  So, for Windows PowerShell issues, use Uservoice at: https://windowsserver.uservoice.com/forums/301869-powershell
Overall, this type of exception can only be handle using the try/catch.
In order to reproduce in PowerShell Core, we need better steps. We don't know what commands are executing in "Cradle.ps1" script file.
Keep in mind, Microsoft efforts are to move forward with PowerShell Core.
:)

You cannot tell what is in a text file?  I am very confused.  Have you tried notepad?
To help I have opened the files in notepad and copied the text files here.
#cradle.ps1

# Set the error action to Stop
$ErrorActionPreferenceOld = $ErrorActionPreference
$ErrorActionPreference = "Stop"

. .\error.ps1

try {
     Write-Host "Running"
     DoIt
} catch {
    Write-Host "There was an error"
    Format-list * -InputObject $_ -Force
} finally {
     Write-Host "Finished"
     $ErrorActionPreference = $ErrorActionPreferenceOld
}

#error.ps1

function DoIt {
    [CmdletBinding]
    Write-Host "Before"
    # Perform action which prints to error stream
    Invoke-Command -Script {
        & cmd.exe /k "echo 'test' 1&>2" *>1 | Out-Null
    } -ErrorAction SilentlyContinue | Out-Null -ErrorAction SilentlyContinue
    Write-Host "After"
}

Just in case you are confused you will need to copy AND paste these into the following files and please read the first line of the code as those correspond to the files that you need to copy and paste into,
cradle.ps1
error.ps1

then at the command line please type,
.\cradle.ps1

Please let me know if that was not clear.
I have also tried in a try catch and it still throws in my real script and not this toy example and it still fails.
I reproduced it in PowerShell Core, here is the version I have.  I will also file a bug with the PowerShell team.
Name                           Value
----                           -----
PSVersion                      6.1.0-preview.4
PSEdition                      Core
GitCommitId                    6.1.0-preview.4
OS                             Microsoft Windows 10.0.17134
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Here's a reduced version of the code with just the relevant bits.
$ErrorActionPreference="silentlycontinue"
Invoke-Command -Script {
        & cmd.exe /c 1 *>1 | Out-Null
} -ErrorAction SilentlyContinue

This will indeed generate a error despite setting -ErrorAction on Invoke-Command. This is because $ErrorActionPreference is set to Stop. The preference variable is the ambient setting for all commands vs. the -ErrorAction parameter that controls the behaviour for a specific command. This means that when cmd.exe is executed, it's error action will be Stop causing an exception to be thrown. As @MaximoTrinidad points out, you could capture that exception with try/catch. On the other hand, you could change the setting of $ErrorActionPreference to be something other than Stop. You could even set it inside the Invoke-Command scriptblock so it's local to that block:
$ErrorActionPreference="stop"
Invoke-Command -Script {
	$ErrorActionPreference="silentlycontinue"
        & cmd.exe /c 1 *>1 | Out-Null
} -ErrorAction SilentlyContinue

Ultimately there is no PowerShell bug here - everything is working as intended - however I'd encourage you to look at your overall error handling approach since you appear to have conflicting preferences.

Ah! Apologoies @deathly809 !!
I didn't notice you included other files.  Hehe!!
Thanks BruceP for assisting!!

Hmmm, I will override the setting and see what happens.  Hopefully that fixes it.  Thanks!

Hey guys, this does not seem to be fixed. Is this by design? Invoke-Command does not respect -ErrorAction parameter which means it cannot be suppressed using SilentlyContinue nor can it be trapped using aTry..Catch block.
This issue is present in both WinPS and PowerShell Core. Does not seem like intended behavior since the $Error[0] variable and $ResolutionError ErrorVariable are set by PowerShell outside of the scriptblock.
Invoke-Command -ScriptBlock { Get-Content c:\file\does\not\exist.txt } -ErrorAction SilentlyContinue -ErrorVariable ResolutionError

For anyone else still seeing this, ErrorAction on Invoke-Command doesn't affect the error action inside the block you pass to Invoke-Command, just the error action for Invoke-Command and its logic.
If you're passing a ScriptBlock into a function in another context, $ErrorActionPrefence inside the script block will not be affected by $ErrorActionPreference in the function that invokes the script block.  $ErrorActionPreference appears to behave like any other scoped variable, so changing it in the calling function doesn't affect the value captured by the script block.
With ExecuteBlock defined in the script
function ExecuteBlock([ScriptBlock]$ScriptBlock) {
    Write-Host "  ExecuteBlock start: $ErrorActionPreference"

    $ErrorActionPreference = "Continue"
    Write-Host "  ExecuteBlock set: $ErrorActionPreference"

    Invoke-Command -ScriptBlock $ScriptBlock
    Write-Host "  ExecuteBlock end: $ErrorActionPreference"
}

Write-Host "Script start: $ErrorActionPreference"

ExecuteBlock { Write-Host "    ScriptBlock: $ErrorActionPreference" }

Write-Host "Script end: $ErrorActionPreference"

Script start: Stop
  ExecuteBlock start: Stop
  ExecuteBlock set: Continue
    ScriptBlock: Continue
  ExecuteBlock end: Continue
Script end: Stop

With ExecuteBlock defined in a module.
function ExecuteBlock([ScriptBlock]$ScriptBlock) {
    Write-Host "  ExecuteBlock start: $ErrorActionPreference"

    $ErrorActionPreference = "Continue"
    Write-Host "  ExecuteBlock set: $ErrorActionPreference"

    Invoke-Command -ScriptBlock $ScriptBlock
    Write-Host "  ExecuteBlock end: $ErrorActionPreference"
}

Export-ModuleMember -Alias * -Function *

Import-Module .\helpers.psm1 -Force

Write-Host "Script start: $ErrorActionPreference"

ExecuteBlock { Write-Host "    ScriptBlock: $ErrorActionPreference" }

Write-Host "Script end: $ErrorActionPreference"

Script start: Stop
  ExecuteBlock start: Stop
  ExecuteBlock set: Continue
    ScriptBlock: Stop
  ExecuteBlock end: Continue
Script end: Stop

The module example proves that setting $ErrorActionPreference before calling Invoke-Command will only affect the ErrorActionPreference in the script block if the script block and the invocation are in the same scope.
Using InvokeWithContext
To invoke a script block from another scope while altering its ErrorActionPreference, you can call InvokeWithContext on the ScriptBlock
https://docs.microsoft.com/en-us/dotnet/api/system.management.automation.scriptblock.invokewithcontext?view=powershellsdk-7.0.0
function ExecuteBlock([ScriptBlock]$ScriptBlock) {
    Write-Host "  ExecuteBlock start: $ErrorActionPreference"

    $ScriptBlock.InvokeWithContext($null, @([PSVariable]::new('ErrorActionPreference', 'Continue')))

    Write-Host "  ExecuteBlock end: $ErrorActionPreference"
}

Script start: Stop
  ExecuteBlock start: Stop
    ScriptBlock: Continue
  ExecuteBlock end: Stop
Script end: Stop

Summing Up
function ExecuteBlock([ScriptBlock]$ScriptBlock) {
    $ScriptBlock.InvokeWithContext($null, @([PSVariable]::new('ErrorActionPreference', 'Continue')))
    Write-Host "ExecuteBlock `$? = $?"
    Write-Host "ExecuteBlock `$LASTEXITCODE = $LASTEXITCODE"
}

Export-ModuleMember -Alias * -Function *

Import-Module .\helpers.psm1 -Force

ExecuteBlock { & cmd.exe /c "1" *>&1 }

Write-Host "Script `$?: $?"

'1' is not recognized as an internal or external command,
operable program or batch file.
ExecuteBlock $? = True
ExecuteBlock $LASTEXITCODE = 1
Script $?: True


Installing asp.net into my window browser

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/run
Operating System: windows
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Can you please provide more details?

@FAYENUWO-maker what is the issue you're having? We'll need more details in order to help you.

Closing due to the lack of response.


windows 10 运行时报错:

NFO:     Started server process [11568]
INFO:     Waiting for application startup.
torch found: E:\ai\py310\Lib\site-packages\torch\lib
torch set
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:53384 - "GET / HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:53384 - "GET /status HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:53384 - "OPTIONS /update-config HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:53381 - "OPTIONS /switch-model HTTP/1.1" 200 OK
max_tokens=4100 temperature=1.2 top_p=0.5 presence_penalty=0.4 frequency_penalty=0.4
INFO:     <IP_ADDRESS>:53384 - "POST /update-config HTTP/1.1" 200 OK
E:\ai\py310\Lib\site-packages_distutils_hack_init_.py:18: UserWarning: Distutils was imported before Setuptools, but importing Setuptools also replaces the distutils module in sys.modules. This may lead to undesirable behaviors or errors. To avoid these issues, avoid using distutils directly, ensure that setuptools is installed in the traditional way (e.g. not an editable install), and/or make sure that setuptools is always imported before distutils.
warnings.warn(
E:\ai\py310\Lib\site-packages_distutils_hack_init_.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
Using E:\ai\backend-python as PyTorch extensions root...
Ninja is required to load C++ extensions
INFO:     <IP_ADDRESS>:53384 - "POST /switch-model HTTP/1.1" 500 Internal Server Error

检查torch版本是1.13

最新版本已经解决了部分windows版本无法顺序安装依赖的问题，全新安装已不存在此问题


supabase update

Feature request
There should be a way to update the docker images from supabase.
Maybe something like supabase stop && cd .supabase/docker && docker-compose pull && cd ../.. && supabase start? Though should likely not start if it wasn't already started.

The images' versions are tied to the CLI version in the new Go CLI.


Print summary

Hi,
Is there a way to get a summary with a counter for all errors and warnings in all linted files? We are building a frontend starter kit at my agency and we need to print a summary (we also need to pass this summary to gulp-notify).
I was able to build a summary with gulp-eslint with eslint.results() but I can't find a similar way with gulp-stylelint.
I can build a summary myself but I need a way to know if there is a error or warning in a file. Right now, I'm not able to find that information in my gulp stream.

Hello,

You can print a custom summary by creating a custom formatter. It takes stylelint results object and should return a string. gulp-stylelint will then write it to console or to a file (or both), depending on the options you provide.

I'm not so sure if you can make it work with gulp-notify as gulp-stylelint does not currently pipe stylelint results down the gulp stream.

Thanks for your answer! Indeed I think it's my solution.
But how can I get the array of stylelint result objects to pass to my custom formatter?
Here it's named input https://github.com/stylelint/stylelint/issues/659 but it doesn't seem the same in gulp-stylelint.

You can get some inspiration from the checkstyle formatter.
Below is an example of a custom formatter that returns the beautified JSON of stylelint result objects. Here gulp-stylelint will output the result to console.
gulp
  .src('src/**/*.css')
  .pipe(gulpStylelint({
    reporters: [{
      formatter: function (stylelintResults) {
        return JSON.stringify(stylelintResults, null, '  ');
      },
      console: true
    }]
 }));


Webpack : lazily use pre-built resources if found and then swap back to live loading once its ready

Already connected clients might not get the new resources after they change

our webpack live load stuff only kicks in for dev time. We don't have a runtime dependency on webpack yet. Docs : https://github.com/TypeScriptBuilder/tsb/blob/master/docs/contributing/README.md#webpack :rose:


Fix cache

Fixes caching by ensuring that the fragement indentifier is an array.

Thanks @laurens this has been add to master and 3-0-stable branch.


Chrome freezes due to infinity loop

Hi,
When I fill the fields to do a swap in chrome in linux, it enters an infinity loop that freezes chrome and obligates me to close all chrome windows.

Chrome Version
Version 99.0.4844.51 (Official Build) (64-bit)

When a block is newly created, it is simulated again periodically.
Are there other situations you can reproduce?

This issue has been resolved and will be in the next release. thank you!


A11y_SQLAzureDataStudio_AddaSQLServerBigDataCluster-Controller_Addnewcontroller_ScreenReader:The label of the edit box is announced as heading and item.

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags:#A11y_SQLAzureDataStudioBenchmark;#A11yMAS;#A11ySev2;#A11yTCS;#SQL Azure Data Studio;#Benchmark;#DesktopApp;#MacOs;#MAS1.3.1;#VoiceOver;
Environment Details:
Application Name: Azure Data Studio
Version: 1.15.0-insider
Commit: 3a8b74a
Date: 2020-02-11T05:49:41.181Z
VS Code: 1.42.0
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.3.0
Mac OS:10.15.3
Additional Details:
Mac OS:10.15.3
MAS References:MAS1.3.1
Screen reader: Voiceover.
Repro Steps:

Launch Azure Data Studio application.
Connect to server with windows credentials.
Navigate to Connections from left menu.
Select Add a SQL Server Big Data Clusters.
Navigate to + button & hit enter.
Launch voice over and navigate to the lable of the 1st edit box using control+ command +(left/right)arrow key

Actual:
On navigating to the labels of the edit first and second edit box using control+ command +(left/right)arrow key the label is announced as heading level 2 item.
Same issue is observed in the following page:
1.Import Bacpac Settings
2.Export Bacpac Settings
Expected:
The label should be just announced by its name and not heading level and item.
User Impact:
Screen reader users will receive wrong information of the label as structuring as well as they will consider it as an item.
Attachment for referance:

we can easily change it to be just a div, but need to know when to use heading

lets not use h2 here, i will also email the accessibility team asking for guideline.

As "SQL Server Big Data Cluster" feature has been removed
GithubTags:#Closed;

GitHubTags:#SQLADS-MAC-Feb2020;


feat: support group_norm, batch_norm, and layer_norm

Description
Update batch_norm and layer_norm
Fixes #2225
Type of change

Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the style guidelines of this project (You can use the linters)
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas and hacks
[ ] I have made corresponding changes to the documentation
[x] I have added tests to verify my fix or my feature
[x] New and existing unit tests pass locally with my changes
[x] I have added the relevant labels to my PR in so that relevant reviewers are notified

As discussed, add group_norm implementation here. Additionally, for any converters added, remove those converters from torch_tensorrt.dynamo.lowering._decomposition_groups

@gs-olive group_norm was added!

This PR depends on #2354 and #2355

@zewenli98 - when you have the chance, please rebase this PR to the latest main. Additionally, to follow up on the discussion from this comment, the individual functions for layer_norm, batch_norm, etc. should likely return their intermediate values too, so that we can convert those native_layer_norm-style functions.

Yes! It's still in progress. Thanks for the reminder!


Connect to Pokemon API (fetch Pokédata call one)

Connect to Pokemon API

Connecting to Pokémon API (first call)
Made fetch to pokéAPI to retrieve all creature data. The query limit was increased to full length /?limit=1126 so every creature's data can be easily pulled. See image below for the console.log of successfully pulled data:

Looks like this one is complete :) Closing ticket.

Pull request reference: #30


not working, what should I do?

xinsta_brute.sh: line 44: cd: /data/data/com.termux/files/home/xinsta_brute/10M-pass: No such file or directory
bash: 10M-pass.sh: No such file or directory

???

same for me

any solutions here? got the same issue even though i only the kali OS!!


Infinite loop when executing apollo query with version 1.1.1

I switch over version of apollo I am using from 1.0.0 to 1.1.1  and when I execute code, I am getting errors of type:
Error{message='Fragment XXXXX contains an infinite loop', locations=[Location{line=1, column=5457}], customAttributes={path=[fragment XXXXX]
or
Error{message='Fragment XXXX was used, but not defined',
I have turned off apollographql.useExperimentalCodegen by setting it to false in gradle.properties
Note the fragment/queries I am using work just fine in release 1.0.0,

Thanks for reporting this. Can you share your query ?

@sav007 this happens to me as well, i cannot provide a query since it happens randomly, though i cannot confirm that the error is the same either. it just sometimes, rarely though, keeps making the same query again and again, on older releases it worked fine

So are you saying that the same query can be successful or failed? Is that some specific query?

@sav007 i did some more investigations, and concluded my problem is unrelated, i opened a new issue for it #1647

Closing due to inactivity.


Can I change the code for CNN?

@rzhao01
Hi, sorry to bother you again.
Any chance that the code can be shifted to CNN version??
Like I put some trained CNN weight and predict the accuracy? Running on ARM.
Or maybe I just need to modify the code related to prediction? And which part is used for prediction? I am confused.

In your paper, you have compared the BNN model with CNN model, so I am wondering where can I find the program for CNN prediction?
If you have the code, would you like to post it on Github??

The hardware architecture for a BNN and CNN accelerator would be fairly different. It'll be difficult to just shift it to CNN.
The CNN accuracy is taken from other papers from ML researchers. You should look at those papers to see how they got their results. I can't replicated every paper I cite.

Closing due to lack of activity.


Fix issue #570, only use SecretProperties.

Only use SecretProperties, keep consistent, and modify related tests.

Codecov Report

Merging #593 (4c715d5) into master (8f72d93) will increase coverage by 0.02%.
The diff coverage is 21.42%.

@@             Coverage Diff              @@
##             master     #593      +/-   ##
============================================
+ Coverage     37.98%   38.01%   +0.02%
- Complexity      600      601       +1
============================================
  Files           198      198
  Lines          4670     4675       +5
  Branches        497      497
============================================
+ Hits           1774     1777       +3
- Misses         2752     2753       +1
- Partials        144      145       +1

Impacted Files
Coverage Δ
Complexity Δ

...soul/admin/controller/DashboardUserController.java
10.34% <0.00%> (-0.77%)
1.00 <0.00> (ø)

...l/admin/service/impl/DashboardUserServiceImpl.java
10.34% <0.00%> (-0.37%)
1.00 <0.00> (ø)

...dromara/soul/admin/config/SecretConfiguration.java
100.00% <100.00%> (ø)
2.00 <1.00> (ø)

.../soul/admin/service/impl/UpstreamCheckService.java
22.64% <0.00%> (+1.88%)
4.00% <0.00%> (+1.00%)

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 8f72d93...4c715d5. Read the comment docs.


Trying to run bamboo in docker container - getting errors

Greetings
I am trying to run bamboo in a docker container. Built bamboo as per instructions in 'readme' file. Build has gone fine without errors. However, trying to run it in a container, passing a configuration to json file and container erroring out.  Here is my configuration file:
production.example.json
{
    "Marathon": {
        "Endpoint": "http://wwserver60.alphalocal.net:8080,http://wwserver61.alphalocal.net:8080,http://wwserver62.alphalocal.net:8080"
    },
    "Bamboo": {
        "Endpoint": "http://wwserver60.alphalocal.net:8000",
        "Zookeeper": {
            "Host": " wwserver60.alphalocal.net:2812,wwserver61.alphalocal.net:2812,wwserver62.alphalocal.net:2812",
            "Path": "/marathon-haproxy/state",
            "ReportingDelay": 5
        }
    },
    "HAProxy": {
        "TemplatePath": /var/lib/bamboo/etc/haproxy_template.cfg",
        "OutputPath": "/etc/haproxy/haproxy.cfg",
        "ReloadCommand": "haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid -D -sf $(cat /var/run/haproxy.pid)"
    },
    "StatsD": {
        "Enabled": false,
        "Host": "localhost:8125",
        "Prefix": "bamboo-server.production.n1."
    }
}

Attempting to run bamboo in a docker container:
wwserver204 etc # docker run -d --env-file=/var/lib/bamboo/etc/production.example.json  akamalov/qubit_bamboo

Display docker logs for bamboo:
/usr/lib/python2.7/dist-packages/supervisor/options.py:295: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
  'Supervisord is running as root and it is searching '
2015-06-05 14:19:46,964 CRIT Supervisor running as root (no user in config file)
2015-06-05 14:19:46,964 WARN Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
Unlinking stale socket /var/run/supervisor.sock
2015-06-05 14:19:47,283 INFO RPC interface 'supervisor' initialized
2015-06-05 14:19:47,283 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2015-06-05 14:19:47,284 INFO supervisord started with pid 8
2015-06-05 14:19:48,287 INFO spawned: 'bamboo' with pid 11
2015-06-05 14:19:48,299 DEBG 'bamboo' stdout output:
panic: open :config/production.example.json: no such file or directory

goroutine 1 [running]:
runtime.panic(0x6c5640, 0xc21000ad80)
        /usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6

2015-06-05 14:19:48,299 DEBG 'bamboo' stdout output:
github.com/QubitProducts/bamboo/configuration.(*Configuration).FromFile(0xc210051420, 0x7ffe9b3cdb83, 0x1f, 0x0, 0x422a92)
        /opt/go/src/github.com/QubitProducts/bamboo/configuration/configuration.go:39 +0xa4
github.com/QubitProducts/bamboo/configuration.FromFile(0x7ffe9b3cdb83, 0x1f, 0x0, 0x42b0d5, 0x656ac0, ...)
        /opt/go/src/github.com/QubitProducts/bamboo/configuration/configuration.go:46 +0x6c
main.main()
        /opt/go/src/github.com/QubitProducts/bamboo/bamboo.go:44 +0x66

goroutine 3 [runnable]:
github.com/QubitProducts/bamboo/services/event_bus.func·001()
        /opt/go/src/github.com/QubitProducts/bamboo/services/event_bus/event_handler.go:49
created by github.com/QubitProducts/bamboo/services/event_bus.init·1
        /opt/go/src/github.com/QubitProducts/bamboo/services/event_bus/event_handler.go:55 +0x21

goroutine 4 [runnable]:
os/signal.loop()
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:19
created by os/signal.init·1
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:27 +0x31

2015-06-05 14:19:48,299 DEBG fd 7 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>47680 for <Subprocess at<PHONE_NUMBER>95240 with name bamboo in state STARTING> (stdout)>
2015-06-05 14:19:48,299 INFO exited: bamboo (exit status 2; not expected)
2015-06-05 14:19:48,299 DEBG received SIGCLD indicating a child quit
2015-06-05 14:19:49,301 INFO spawned: 'bamboo' with pid 16
2015-06-05 14:19:49,310 DEBG 'bamboo' stdout output:
panic: open :config/production.example.json: no such file or directory

goroutine 1 [running]:
runtime.panic(0x6c5640, 0xc21000ad80)
        /usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
github.com/QubitProducts/bamboo/configuration.(*Configuration).FromFile(0xc210051370, 0x7ffe8855fb83, 0x1f, 0x0, 0x422a92)
        /opt/go/src/github.com/QubitProducts/bamboo/configuration/configuration.go:39 +0xa4
github.com/QubitProducts/bamboo/configuration.FromFile(0x7ffe8855fb83, 0x1f, 0x0, 0x42b0d5, 0x656ac0, ...)
        /opt/go/src/github.com/QubitProducts/bamboo/configuration/configuration.go:46 +
2015-06-05 14:19:49,310 DEBG 'bamboo' stdout output:
0x6c
main.main()
        /opt/go/src/github.com/QubitProducts/bamboo/bamboo.go:44 +0x66

goroutine 3 [runnable]:
github.com/QubitProducts/bamboo/services/event_bus.func·001()
        /opt/go/src/github.com/QubitProducts/bamboo/services/event_bus/event_handler.go:49
created by github.com/QubitProducts/bamboo/services/event_bus.init·1
        /opt/go/src/github.com/QubitProducts/bamboo/services/event_bus/event_handler.go:55 +0x21

goroutine 4 [runnable]:
os/signal.loop()
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:19
created by os/signal.init·1
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:27 +0x31

2015-06-05 14:19:49,310 DEBG fd 7 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>47680 for <Subprocess at<PHONE_NUMBER>95240 with name bamboo in state STARTING> (stdout)>
2015-06-05 14:19:49,310 INFO exited: bamboo (exit status 2; not expected)
2015-06-05 14:19:49,310 DEBG received SIGCLD indicating a child quit
2015-06-05 14:19:51,313 INFO spawned: 'bamboo' with pid 21
2015-06-05 14:19:51,319 DEBG 'bamboo' stdout output:
panic: open :config/production.example.json: no such file or directory

goroutine 1 [running]:
runtime.panic(0x6c5640, 0xc21000ad80)
        /usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
github.com/QubitProducts/bamboo/configuration.(*Configuration).FromFile(0xc210051420, 0x7ffc0bd36b83, 0x1f, 0x0, 0x422a92)
        /opt/go/src/github.com/QubitProducts/bamboo/configuration/configuration.go:39 +0xa4
github.com/QubitProducts/bamboo/configuration.FromFile(0x7ffc0bd36b83, 0x1f, 0x0, 0x42b0d5, 0x656ac0, ...
2015-06-05 14:19:51,319 DEBG 'bamboo' stdout output:
)
        /opt/go/src/github.com/QubitProducts/bamboo/configuration/configuration.go:46 +0x6c
main.main()
        /opt/go/src/github.com/QubitProducts/bamboo/bamboo.go:44 +0x66

goroutine 3 [runnable]:
github.com/QubitProducts/bamboo/services/event_bus.func·001()
        /opt/go/src/github.com/QubitProducts/bamboo/services/event_bus/event_handler.go:49
created by github.com/QubitProducts/bamboo/services/event_bus.init·1
        /opt/go/src/github.com/QubitProducts/bamboo/services/event_bus/event_handler.go:55 +0x21

goroutine 4 [runnable]:
os/signal.loop()
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:19
created by os/signal.init·1
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:27 +0x31

2015-06-05 14:19:51,319 DEBG fd 7 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>47680 for <Subprocess at<PHONE_NUMBER>95240 with name bamboo in state STARTING> (stdout)>
2015-06-05 14:19:51,319 INFO exited: bamboo (exit status 2; not expected)
2015-06-05 14:19:51,319 DEBG received SIGCLD indicating a child quit
2015-06-05 14:19:54,324 INFO spawned: 'bamboo' with pid 26
2015-06-05 14:19:54,330 DEBG 'bamboo' stdout output:
panic: open :config/production.example.json: no such file or directory

goroutine 1 [running]:
runtime.panic(0x6c5640, 0xc21000ad80)
        /usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
github.com/QubitProducts/bamboo/configuration.(*Configuration).FromFile(0xc210052420, 0x7fffdabdcb83, 0x1f, 0x0, 0x422a92)
        /opt/go/src/github.com/QubitProducts/bamboo/configuration/configuration.go:39 +0xa4
github.com/QubitProducts/bamboo/configuration.FromFile(0x7fffdabdcb83, 0x1f, 0x0, 0x42b0d5, 0x656ac0, ...)
        /opt/go/src/github.com/QubitProducts/bamboo/configuration/configuration.go:46 +0x6c
main.main()
        /opt/go/src/github.com/QubitProducts/bamboo/bamboo.go:44 +0x66

2015-06-05 14:19:54,331 DEBG 'bamboo' stdout output:

goroutine 3 [runnable]:
github.com/QubitProducts/bamboo/services/event_bus.func·001()
        /opt/go/src/github.com/QubitProducts/bamboo/services/event_bus/event_handler.go:49
created by github.com/QubitProducts/bamboo/services/event_bus.init·1
        /opt/go/src/github.com/QubitProducts/bamboo/services/event_bus/event_handler.go:55 +0x21

goroutine 4 [runnable]:
os/signal.loop()
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:19
created by os/signal.init·1
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:27 +0x31

2015-06-05 14:19:54,332 INFO exited: bamboo (exit status 2; not expected)
2015-06-05 14:19:54,332 DEBG received SIGCLD indicating a child quit
2015-06-05 14:19:55,333 INFO gave up: bamboo entered FATAL state, too many start retries too quickly

If you see about 12 lines down, there is a message:
panic: open :config/production.example.json: no such file or directory

I thought I was passing a parameter with -env-file= but for some reason it is not reading?  Any thoughts ?
Thanks!!!!
Alex

The --env-file file parameter is part of docker run, not Bamboo itself. It just expects a list of environment variables and passes it to the Docker container.
The Bamboo dockerfile starts via the config/run.sh and processes a CONFIG_FILE environment variable. This is the variable you want to specify, most simply via an -e flag. Note that it defaults to the production example file that comes with Bamboo.
Hope this helps!

Thanks Timo. Will re-try it and keep you posted.

Still no go. Tried the following:
docker run -d -e CONFIG_FILE=/var/lib/bamboo/etc/bamboo.json  akamalov/qubit_bamboo
Retrieved docker logs:
/usr/lib/python2.7/dist-packages/supervisor/options.py:295: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
  'Supervisord is running as root and it is searching '
2015-06-08 11:22:43,244 CRIT Supervisor running as root (no user in config file)
2015-06-08 11:22:43,244 WARN Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
Unlinking stale socket /var/run/supervisor.sock
2015-06-08 11:22:43,568 INFO RPC interface 'supervisor' initialized
2015-06-08 11:22:43,568 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2015-06-08 11:22:43,568 INFO supervisord started with pid 8
2015-06-08 11:22:44,570 INFO spawned: 'bamboo' with pid 11
2015-06-08 11:22:44,676 DEBG 'bamboo' stdout output:
panic: open :config/production.example.json: no such file or directory

goroutine 1 [running]:
runtime.panic(0x6c5640, 0xc21000ad80)
        /usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6

2015-06-08 11:22:44,676 DEBG 'bamboo' stdout output:
github.com/QubitProducts/bamboo/configuration.(*Configuration).FromFile(0xc2100504d0, 0x7ffcc6769e34, 0x1f, 0x0, 0x422a92)
        /opt/go/src/github.com/QubitProducts/bamboo/configuration/configuration.go:39 +0xa4
github.com/QubitProducts/bamboo/configuration.FromFile(0x7ffcc6769e34, 0x1f, 0x0, 0x42b0d5, 0x656ac0, ...)
        /opt/go/src/github.com/QubitProducts/bamboo/configuration/configuration.go:46 +0x6c
main.main()
        /opt/go/src/github.com/QubitProducts/bamboo/bamboo.go:44 +0x66

goroutine 3 [runnable]:
github.com/QubitProducts/bamboo/services/event_bus.func·001()
        /opt/go/src/github.com/QubitProducts/bamboo/services/event_bus/event_handler.go:49
created by github.com/QubitProducts/bamboo/services/event_bus.init·1
        /opt/go/src/github.com/QubitProducts/bamboo/services/event_bus/event_handler.go:55 +0x21

goroutine 4 [runnable]:
os/signal.loop()
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:19
created by os/signal.init·1
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:27 +0x31

2015-06-08 11:22:44,676 DEBG fd 7 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>85528 for <Subprocess at<PHONE_NUMBER>28992 with name bamboo in state STARTING> (stdout)>
2015-06-08 11:22:44,676 INFO exited: bamboo (exit status 2; not expected)
2015-06-08 11:22:44,677 DEBG received SIGCLD indicating a child quit
2015-06-08 11:22:45,679 INFO spawned: 'bamboo' with pid 16
2015-06-08 11:22:45,685 DEBG 'bamboo' stdout output:
panic: open :config/production.example.json: no such file or directory

goroutine 1 [running]:
runtime.panic(0x6c5640, 0xc21000ad80)
        /usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
github.com/QubitProducts/bamboo/configuration.(*Configuration).FromFile(0xc210050420, 0x7ffd40f7ae34, 0x1f, 0x0, 0x422a92)
        /opt/go/src/github.com/QubitProducts/bamboo/configuration/configuration.go:39 +0xa4
github.com/QubitProducts/bamboo/configuration.FromFile(0x7ffd40f7ae34, 0x1f, 0x0, 0x42b0d5, 0x656ac0, ...)
        /opt/go/src/github.com/QubitProducts/bamboo/configuration/configuration.go:46 +0x6c

2015-06-08 11:22:45,685 DEBG 'bamboo' stdout output:
main.main()
        /opt/go/src/github.com/QubitProducts/bamboo/bamboo.go:44 +0x66

goroutine 3 [runnable]:
github.com/QubitProducts/bamboo/services/event_bus.func·001()
        /opt/go/src/github.com/QubitProducts/bamboo/services/event_bus/event_handler.go:49
created by github.com/QubitProducts/bamboo/services/event_bus.init·1
        /opt/go/src/github.com/QubitProducts/bamboo/services/event_bus/event_handler.go:55 +0x21

goroutine 4 [runnable]:
os/signal.loop()
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:19
created by os/signal.init·1
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:27 +0x31

2015-06-08 11:22:45,686 DEBG fd 7 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>85528 for <Subprocess at<PHONE_NUMBER>28992 with name bamboo in state STARTING> (stdout)>
2015-06-08 11:22:45,686 INFO exited: bamboo (exit status 2; not expected)
2015-06-08 11:22:45,686 DEBG received SIGCLD indicating a child quit
2015-06-08 11:22:47,688 INFO spawned: 'bamboo' with pid 21
2015-06-08 11:22:47,694 DEBG 'bamboo' stdout output:
panic: open :config/production.example.json: no such file or directory

goroutine 1 [running]:
runtime.panic(0x6c5640, 0xc21000ad80)
        /usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
github.com/QubitProducts/bamboo/configuration.(*Configuration).FromFile(0xc210050370, 0x7ffd8e277e34, 0x1f, 0x0, 0x422a92)
        /opt/go/src/github.com/QubitProducts/bamboo/configuration/configuration.go:39 +0xa4
github.com/QubitProducts/bamboo/configuration.FromFile(0x7ffd8e277e34, 0x1f, 0x0,
2015-06-08 11:22:47,694 DEBG 'bamboo' stdout output:
0x42b0d5, 0x656ac0, ...)
        /opt/go/src/github.com/QubitProducts/bamboo/configuration/configuration.go:46 +0x6c
main.main()
        /opt/go/src/github.com/QubitProducts/bamboo/bamboo.go:44 +0x66

goroutine 3 [runnable]:
github.com/QubitProducts/bamboo/services/event_bus.func·001()
        /opt/go/src/github.com/QubitProducts/bamboo/services/event_bus/event_handler.go:49
created by github.com/QubitProducts/bamboo/services/event_bus.init·1
        /opt/go/src/github.com/QubitProducts/bamboo/services/event_bus/event_handler.go:55 +0x21

goroutine 4 [runnable]:
os/signal.loop()
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:19
created by os/signal.init·1
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:27 +0x31

2015-06-08 11:22:47,694 DEBG fd 7 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>85528 for <Subprocess at<PHONE_NUMBER>28992 with name bamboo in state STARTING> (stdout)>
2015-06-08 11:22:47,694 INFO exited: bamboo (exit status 2; not expected)
2015-06-08 11:22:47,694 DEBG received SIGCLD indicating a child quit
2015-06-08 11:22:50,700 INFO spawned: 'bamboo' with pid 26
2015-06-08 11:22:50,709 DEBG 'bamboo' stdout output:
panic: open :config/production.example.json: no such file or directory

goroutine 1 [running]:
runtime.panic(0x6c5640, 0xc21000ad80)
        /usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
github.com/QubitProducts/bamboo/configuration.(*Configuration).FromFile(0xc210050370, 0x7ffe7e4c6e34, 0x1f, 0x0, 0x422a92)
        /opt/go/src/github.com/QubitProducts/bamboo/configuration/configuration.go:39 +0xa4
github.com/QubitProducts/bamboo/configuration.FromFile(0x7ffe7e4c6e34, 0x1f, 0x0, 0x42b0d5, 0x656ac0, ...)
        /opt/go/src/github.com/QubitProducts/bamboo/configuration/configuration.go:46 +0x6c
main.main()
        /opt/go/src/github.com/QubitProducts/bamboo/bamboo.go:44 +0x66

2015-06-08 11:22:50,710 DEBG 'bamboo' stdout output:

goroutine 3 [runnable]:
github.com/QubitProducts/bamboo/services/event_bus.func·001()
        /opt/go/src/github.com/QubitProducts/bamboo/services/event_bus/event_handler.go:49
created by github.com/QubitProducts/bamboo/services/event_bus.init·1
        /opt/go/src/github.com/QubitProducts/bamboo/services/event_bus/event_handler.go:55 +0x21

goroutine 4 [runnable]:
os/signal.loop()
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:19
created by os/signal.init·1
        /usr/lib/go/src/pkg/os/signal/signal_unix.go:27 +0x31

2015-06-08 11:22:50,710 DEBG fd 7 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>85528 for <Subprocess at<PHONE_NUMBER>28992 with name bamboo in state STARTING> (stdout)>
2015-06-08 11:22:50,710 INFO exited: bamboo (exit status 2; not expected)
2015-06-08 11:22:50,710 DEBG received SIGCLD indicating a child quit
2015-06-08 11:22:51,711 INFO gave up: bamboo entered FATAL state, too many start retries too quickly

I don't understand why would it still look for config/production.example.json when -e CONFIG_FILE parameter  is provided...

I Belive its CONFIG_PATH not CONFIG_FILE.

Yep. Got it to work.

Created a directory on docker host: /var/lib/bamboo/etc with two configuration files:

bamboo.json
haproxy_template.cfg

Deployed Bamboo container with the following command:

docker run -d -P --name bamboo  -v /var/lib/bamboo/etc:/var/lib/bamboo/etc -e CONFIG_PATH=/var/lib/bamboo/etc/bamboo.json -e BAMBOO_DOCKER_AUTO_HOST=true akamalov/qubit_bamboo

Thanks so much for everyone responded.
Alex


Fix/credentials url

Due to a new layout of the settings pages, application credentials now have their own dedicated page.
I plan to deploy those changes on Monday, and I also sent a PR to update fioctl command help/description.
We might have to take a new screenshot of the settings page though.

Docs for 7c5c9505c575c0e7c34e48fbb3bec0956da678b0 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1387/docs/artifacts/html/index.html

Docs for 6744e40267a309761765e9265c6b1893bc3e55b8 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1388/docs/artifacts/html/index.html

I'll look into, and capture, any screenshots that are needed.


Separate logging interface/package? Also, ideas about 3.0

Well, it's a thought. It would be nice if api-guard does only one thing after all.
If @chrisbjr agrees, then we'd do 3.0. Also thinking of making options about how we do auth, eg. JWT.

Actually I like that the API key logs the requests and can be turned off. It allows for a nice little bit of security. Currently I have it setup so that every midnight the table gets emptied of logs that are older than the last day, so if some high traffic is coming in I can easily see the IP address there instead of having to go into my nginx logs. It makes tracking down abusive IPs much easier and make deleting abusive accounts a synch. Yes rate limits are doable, but for the application model I'm working in, rate limits are impractical, so logging became a must have for us.
Of course there's always the option of rolling your own logging system per controller method, but setting that up for every application is a lot more annoying than just installing api keyguard and getting it in there too and turning it off if I don't need it for a method, or turning it off and turning it on for a method. Maybe instead of a new version without it, offer a fork of it without it? Otherwise the current version system get thrown a little wacky if you decide to offer both versions.
Another question is if github allows x.y.z version identifiers, in which case you can do 2.x.0 as no logging, 2.x.1 as logging, and then the minor version is the x. This could allow both flavors to be in the same repo, and compatible(assuming you put the missing table in)

Thanks @skatcat31 we've made improvements in the authentication but also discussed with @awkwardusername that we won't be moving to JWT as this is a different use case. API keys is what this library is about.


Stat Suggestion: Mobile Comparison

It would be great to see stats for the top 1000 for mobile versus desktop: either via media queries (wide screen v narrow screen), user agent (mobile v desktop) and/or mobile site via redirect (www. v m.)

Is this stat available?

Indeed, comparing crawls would be a nice new feature. This is a big effort and not currently scheduled.

This is something we hope to support in https://github.com/HTTPArchive/httparchive/issues/81

Can we close and merge this into #81?

Fixed by #81


Tab crash bug

There is an issue with Files UWP when you press CTRL + T more than four times and then manually close about three. This issue is pretty rare because I've only had it happen once.
Windows 10 Version: Build 20170.rs_prerelease (Windows 10 home)
Files UWP Version: <IP_ADDRESS>

@pixl-8 Could you share the log file?

@pixl-8 Yeah. This seems like an edge case. Can you please share your debug log file, so we can track down this one?

@pixl-8 Thanks again for your feedback.
Since we didn't hear from you on this topic for several days, we'll assume everything is worked out and close this feedback item. If you had more feedback to provide, please re-open this and help the owners by describing the current status and any steps taken to troubleshoot this.


Update rust-toolchain to nightly of 2023-07-30

This version and the time to update is chosen somewhat arbitrarily, as libtock-rs fails to build elf2tab on its current Rust toolchain (2022-06-10).

Okay, I think I hit a roadblock. After the update, Miri fails with the following:
error: unsupported operation: integer-to-pointer casts and `ptr::from_exposed_addr` are not supported with `-Zmiri-strict-provenance`
   --> /home/runner/work/libtock-rs/libtock-rs/platform/src/register.rs:25:18
    |
25  |         Register(value as *mut ())
    |                  ^^^^^^^^^^^^^^^^ integer-to-pointer casts and `ptr::from_exposed_addr` are not supported with `-Zmiri-strict-provenance`
    |
    = help: use Strict Provenance APIs (https://doc.rust-lang.org/nightly/std/ptr/index.html#strict-provenance, https://crates.io/crates/sptr) instead
    = note: BACKTRACE:
    = note: inside `<libtock_platform::Register as core::convert::From<u32>>::from` at /home/runner/work/libtock-rs/libtock-rs/platform/src/register.rs:25:18: 25:34
    = note: inside `<u32 as core::convert::Into<libtock_platform::Register>>::into` at /home/runner/.rustup/toolchains/nightly-2023-07-30-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/convert/mod.rs:716:9: 716:22
note: inside `libtock_platform::syscalls_impl::<impl libtock_platform::Syscalls for libtock_unittest::fake::Syscalls>::command`

Having read the linked strict provenance APIs documentation, I can understand why this is an error. However, I don't really know how to work around it. As far as I see it, we're using the Register in raw_syscalls as a means to provide Miri with the ability to track pointers as they are passed across the fake system call interface boundaries. By using raw pointers instead of usize integers, those pointers can carry an additional tag which Miri uses for its provenance checks. This is not actually used at runtime in a compiled Rust program, as carrying provenance across the asynchronous system call boundary (such as in the case of Tock's upcalls) wouldn't work anyways -- we're fundamentally limited to a usize-sized type here. So far, so good.
The root cause of the issues we're facing here is that we can't create a raw pointer type from a "tagless" usize integer. Semantically, accessing such a pointer does not make sense with provenance analysis. Miri can't know that we're using this pointer solely as a usize-sized (which is actually not necessarily true on all platforms, such as Miri) type to hold an integer in its address field, only to extract this integer back later. We never actually dereference this pointer.
From what I understand, Miri doesn't leave us with too many options here, assuming we want to stick to using strict provenance checks:

We can change the definition of our Register type to contain either an integer or a pointer:
 pub enum Register {
     Pointer(*mut ()),
     Integer(usize),
 }

Unfortunately, this uses another word of memory to store the enum's tag, which we really only need to keep around for Miri. On platforms where core::mem::size_of::<*mut ()>() == core::mem::size_of::<usize>() (which platforms are all that Tock targets, and Tock further requires by means of its system call ABI), we should not have to incur this cost. It is further impossible to reconstruct the enum tag from a raw register value as passed across the system call ABI, e.g. for an upcall.

We can construct a raw pointer from an integer by taking the "provenance" (Miri's tag) from another invented pointer, e.g. core::ptr::null(). While this seems like a hack, it might actually give us some useful properties: by using the provenance of some invented, zero-sized raw pointer for the "integer pseudo-pointers", Miri should complain about any dereferences of pointer-arithmetic on such pointers. This would effectively enforce that we use these pointers only for retaining their addresses, and the only allowed operation would be extracting their address.

I'll prototype the second approach for now, and will see whether I can work around the Miri issues this way.

I wouldn't rule out the possibility of this code running on a platform where size_of::<*mut ()> != size_of::<usize>().
I think the most standard/idiomatic fix here is to use sptr::invalid. sptr exists primarily to allow Rust code to work on both stable and under strict provenance rules, which is the problem we're facing.
If you really want to avoid adding another dependency, you could try copying the implementation from sptr, which is just a transmute:
    // FIXME(strict_provenance_magic): I am magic and should be a compiler intrinsic.
    // We use transmute rather than a cast so tools like Miri can tell that this
    // is *not* the same as from_exposed_addr.
    // SAFETY: every valid integer is also a valid pointer (as long as you don't dereference that
    // pointer).
    #[cfg(miri)]
    return unsafe { core::mem::transmute(addr) };

Note: we don't need conditional compilation here because we don't need const.
However, I'm not 100% sure that'll work, because it's possible that Miri special-cases the sptr crate.

Closing in favor of #511, thanks @jrvanwhy!


TypeError: Cannot read property 'catch' of undefined

Hi there,
I've implemented the Async Task example used in the documentation. I am fairly confident I implemented this correctly, but I am still receiving this output.
Here is my code:

The Error:

Lastly, the file to which the error is pointing to.

Enviroment:
toad-scheduler Version: Both 1.6.0 and 1.0.2 have been tried resulting in the same outputs
Node Version: 12.13.1
nodemon: ^1.19.1
Please let me know,
Thank you!

Hello, I contributed to the project a good while ago but I got an email notification about the repo.
@kibertoad  hi buddy hope you've been well <3 I was wondering, do you think there could be some kind of default value to give to "handler" in case it's undefined? I notice there's a default set for errorHandler but not handler, and the error seems to say cannot read catch() of undefined on the "handler" part.
As for why it's undefined, the only differences I see between your usage and the documentation is "seconds: 20" vs "seconds:1" and also "(err: Error)=>{}" notice the type def, versus "(err) =>{}". Also, I see that your scheduler.stop() has a setTimeout().
Did you try following the exact implementation of the docs?

@AndreWillomitzer
Yes I have tried all following cases, except for defining the type, "(err: Error)" because I am writing this in js and I am unaware of how to create typedefs in js.

Based on the code that you have shared, this.handler() can return undefined in some cases. To handle such cases properly, you can do chaining:
const handlerPromise = this.handler()
return Promise.resolve(handlerPromise)
.catch() // etc

Alternatively, if you make handler async, its result should be wrapped into promise automatically, and your code should work out of the box.

@stefanleoussis Did that help you resolve your issue?

@stefanleoussis Sorry for not reaching out earlier. Actually, fix would have been as simple as returning the promise1 from your code.
I definitely need to document this better.


Fixed LivePersona not showing card on hover

Q
A

Bug fix?
[x]

New feature?
[ ]

New sample?
[ ]

Related issues?
https://github.com/pnp/sp-dev-fx-controls-react/issues/1241

What's in this Pull Request?
LivePersona component stopped working. Microsoft changed LivePersonaCard component's property upn to legacyUpn.
Fixed LivePersona component by adding legacyUpn property.
Decided to keep upn property in case this is still used on Standard Release tenants.

@SharePickle do we need both properties? Should the new one not replace the old one? (sorry was unable to test)

@SharePickle do we need both properties? Should the new one not replace the old one? (sorry was unable to test)

I would leave both in case MS rolls it back or when your web part is used on Standard Release tenants, which may have previous LivePersona component version.


Add a validation node for the planning trajectory

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I've agreed with the maintainers that I can plan this task.

Description
Sometimes, a faulty path is published due to the poor quality of the planning. This can cause the vehicle to behave abnormally in terms of steering, acceleration, and braking. It is important to continually improve the quality of the planning, but we also need to implement a validation system to ensure the quality of the paths being published.
Purpose
To avoid publishing abnormal paths.
Possible approaches
A planning validator node is introduced at the final stage of the planning process. The node validates the trajectory and stops publishing if it is invalid.
The planning node diagram would be like below:
planning_modules -> planning_validator -> control.

Definition of done
A validation mechanism of the planning is in the autoware.

Related:

https://github.com/autowarefoundation/autoware.universe/pull/1947
https://github.com/autowarefoundation/autoware.universe/pull/2604
https://github.com/tier4/autoware_launch/pull/675

cc. @yukkysaito

I think it's a good idea to add one.
However, I would like to separate what is verified online and what is verified offline (like CI)
Otherwise, it would be inefficient to run a huge verification online.

to separate what is verified online and what is verified offline (like CI)

Ok. In the first phase, the validator node focus only on the online checks (curvature, acceleration, etc). The offline validation item could be something regarding the map, kinematics parameters, etc. We should discuss this further.

@TakaHoribe I guess this issue can be closed?

This can be closed with these PRs.
https://github.com/autowarefoundation/autoware.universe/issues/2605#issuecomment-1368926141


Unusual IV for AES_CBC

In jwe.c, _cjose_jwe_set_iv_aes_cbc creates different sized IVs depending on the key size. This doesn't seem correct; the CBC IV is based on the block size, which is always 16 bytes for AES, not the key size. I can't find a specific example in RFC7516 of AES256 to confirm my understanding; have I misunderstood something about the spec?

We had an issue with the Qt Cryptographic library due to the varying size of the IV for different key sizes.
This pull request uses a fixed size of 16 Byte: https://github.com/cisco/cjose/pull/112

this was merged here:
https://github.com/zmartzone/cjose/pull/11
and part of the maintenance fork here:
https://github.com/zmartzone/cjose/tree/version-0.6.2.x


EvidenceSynthesis was removed from CRAN so it is not installed via this R package

Issue:
The OHDSI EvidenceSynthesis R package was removed from CRAN so it is not installed via this R package
Background:
CRAN info:
https://cran.r-project.org/web/packages/EvidenceSynthesis/index.html
Package ‘EvidenceSynthesis’ was removed from the CRAN repository.
Formerly available versions can be obtained from the archive.
Archived on 2022-08-08 as requires archived package 'Cyclops'.
A summary of the most recent check results can be obtained from the check results archive.
Please use the canonical form https://cran.r-project.org/package=EvidenceSynthesis to link to this page.
Action:
Recommend updating this HADES R package to install the latest GitHub version of EvidenceSynthesis until it is made available again in CRAN

Thanks! I've pushed a new version to CRAN

It's now back in CRAN


two way binding

two binding is not supporting in editable-text="", value is binding only after clicking submit button but it should be two way binded as it happen in angularjs.

I'm sorry, but angular-xeditable is not setup that way.
I can try and help you find a solution to your specific problem if you describe it more or provide a plunkr/jsfiddle.

Hi,
Please find the attached screenshot and help us out in implementing this functionality where i want to create a dynamic form on clicking add button and remove the same.
Thanks & Regards
Ketan Jain

From: ckosloski<EMAIL_ADDRESS>Sent: Thursday, February 1, 2018 6:36:28 AM
To: vitalets/angular-xeditable
Cc: Ketan Jain; Author
Subject: Re: [vitalets/angular-xeditable] two way binding (#717)
I'm sorry, but angular-xeditable is not setup that way.
I can try and help you find a solution to your specific problem if you describe it more or provide a plunkr/jsfiddle.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/vitalets/angular-xeditable/issues/717#issuecomment-362284226, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AiSVvcYRbcSK2EPK8zpWw9nVw6G0djcEks5tQcvsgaJpZM4Rx50H.

There is no image attached.
This is the editable row example.  Based on your first post, it seems that is what you are trying to do.


cannot gradle sync because of no resource found in mixpanel-android:5.0.2

Error:(78, 28) No resource found that matches the given name (at 'theme' with value '@style/com_mixpanel_android_SurveyActivityTheme').
what am I missing?

Hi @salismt ! We changed the name of the activity that handles in-app notifications and also the name of the theme. Open your AndroidManifest.xml file and look for com_mixpanel_android_SurveyActivityTheme and change it to com_mixpanel_android_TakeoverInAppActivityTheme. Also, make sure that you no longer have com.mixpanel.android.surveys.SurveyActivity but com.mixpanel.android.takeoverinapp.TakeoverInAppActivity instead.


bug: Today I update LazyVim and while sync, plugin nvim-spectre it failed.

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.9.4 Build type: Release LuaJIT 2.1.1697887905
Operating system/version
macos - 14.1 Sonoma
Describe the bug
Today I update LazyVim and while sync plugin nvim-spectre it failed. Same I tried with fresh installation.
I created issue ticked on the nvim-spectre repo https://github.com/nvim-pack/nvim-spectre/issues
Steps To Reproduce

Clone lazyvim
Open vim to install packages

https://drive.google.com/file/d/1mWrAoL3qLVrf53CVEuSK08636_cxjrrE/view?usp=sharing
Expected Behavior
Should don't fail with neovim-spectre.
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  "folke/LazyVim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

I highly doubt this is a Lazyvim issue. This is a problem with spectre and your OS.

I highly doubt this is a Lazyvim issue. This is a problem with spectre and your OS.

Yes, only add here note as bug, to notice that is problem with that. I will close if it is unrelated.

Current workaround is on the repo of neovim-spectre. https://github.com/nvim-pack/nvim-spectre/issues/182#issuecomment-1792220582


task(appeals-service): update to GA4 code

Turn off tag manager flag and use new GA4 code

changes look lgtm


ReferenceError: "module is not defined" in Hydrogen/Remix Apps with new Vite when using @react-three/drei

What is the location of your example repository?
https://github.com/nhm1990/hydrogen-quickstart
Which package or tool is having this issue?
hydrogen-react
What version of that package or tool are you using?
2024.4.2
What version of Remix are you using?
2.8.0
Steps to Reproduce

Run sample repo "hydrogen-quickstart"
npm install
npm run dev
Open http://localhost:3000/
See error: ReferenceError: module is not defined

Expected Behavior
Sample .glb file is loaded in the canvas without errors and app works.
Actual Behavior
Error: "ReferenceError: module is not defined" appears
Could only reproduce it with hydrogen apps/remix since using Vite.
With pure remix, react or nextJS app it's working fine.

ReferenceError: module is not defined
at C:/Users/max.mustermann/Projects/Example Shopify/hydrogen-quickstart-1/node_modules/@react-three/fiber/node_modules/react-reconciler/constants.js:6:3
at Object.runViteModule (Users/max.mustermann/Projects/Example Shopify/hydrogen-quickstart-1/node_modules/@shopify/mini-oxygen/dist/vite/worker-entry.js:1181:17)
at ViteRuntime.directRequest (Users/max.mustermann/Projects/Example Shopify/hydrogen-quickstart-1/node_modules/@shopify/mini-oxygen/dist/vite/worker-entry.js:1026:78)
at ViteRuntime.cachedRequest (Users/max.mustermann/Projects/Example Shopify/hydrogen-quickstart-1/node_modules/@shopify/mini-oxygen/dist/vite/worker-entry.js:949:28)
at request (Users/max.mustermann/Projects/Example Shopify/hydrogen-quickstart-1/node_modules/@shopify/mini-oxygen/dist/vite/worker-entry.js:976:128)
at /node_modules/@react-three/fiber/dist/index-ba8afaa4.esm.js?v=3cd111ea:3:31
at Object.runViteModule (Users/max.mustermann/Projects/Example Shopify/hydrogen-quickstart-1/node_modules/@shopify/mini-oxygen/dist/vite/worker-entry.js:1181:11)
at ViteRuntime.directRequest (Users/max.mustermann/Projects/Example Shopify/hydrogen-quickstart-1/node_modules/@shopify/mini-oxygen/dist/vite/worker-entry.js:1026:60)
at ViteRuntime.cachedRequest (Users/max.mustermann/Projects/Example Shopify/hydrogen-quickstart-1/node_modules/@shopify/mini-oxygen/dist/vite/worker-entry.js:950:79)
at /node_modules/@react-three/fiber/dist/react-three-fiber.esm.js?v=3cd111ea:1:110

Also with older versions it's not working.
Maybe related: https://github.com/facebook/react/issues/20327

Hi 👋
Please try what's explained here: https://github.com/Shopify/hydrogen/issues/2129#issuecomment-2119588510
Let me know if that doesn't work.


Ensure that we join all the cgroups

Potential fix for https://github.com/openshift/origin/issues/7616
Signed-off-by: Mrunal Patel<EMAIL_ADDRESS>

LGTM ping @rhatdan

Is this something that will be going upstream, or are you proposing we carry it?

This is a back port of a fix in runc.
Sent from my iPhone

On Mar 8, 2016, at 5:26 AM, Daniel J Walsh<EMAIL_ADDRESS>wrote:
Is this something that will be going upstream, or are you proposing we carry it?
—
Reply to this email directly or view it on GitHub.

Is the fix in docker-1.10?
LGTM

No it will be in 1.11
Sent from my iPhone

On Mar 8, 2016, at 8:33 AM, Daniel J Walsh<EMAIL_ADDRESS>wrote:
Is the fix in docker-1.10?
LGTM
—
Reply to this email directly or view it on GitHub.

Ok so we need a similar patch for docker-1.10 release.

Yeah will do that with the other backport for hooks.
Sent from my iPhone

On Mar 8, 2016, at 8:46 AM, Daniel J Walsh<EMAIL_ADDRESS>wrote:
Ok so we need a similar patch for docker-1.10 release.
—
Reply to this email directly or view it on GitHub.


What is the geo-fence feature for?

I poked around the documentation, but found no explanation for why one might use the Geo-Fences feature.

At the moment it is only a way to create custom locations like "Home" or "Work". It is particularly useful if the addresses provided by OSM in a region are inaccurate.

Should this be documented in the readme? I assume it could be useful info for new users that they can created such custom locations, e.g. if they street-park at home or at work where the exact location/address may wary.
Also, suggestion: "use current/last known location" for coordinates of a new geo-fence location, instead of always requiring manual entry. Picking from a map would be awesome as well, though I assume that's more complicated to build that it is worth.

Should this be documented in the readme? I assume it could be useful info for new users that they can create such custom locations, e.g. if they street-park at home or at work where the exact location/address may vary.

I thought it's self-explanatory but you're right, I'll  document it.

Also, suggestion: "use current/last known location" for coordinates of a new geo-fence location, instead of always requiring manual entry. Picking from a map would be awesome as well, though I assume that's more complicated to build that it is worth.

Yeah, that would be very convenient. I'll add it to the roadmap. But it's not a priority right now.


fixing type error present when upgrading to typescript 2.9.1

  Type 'keyof InputObject' does not satisfy the constraint 'string'.
  Type 'string | number | symbol' is not assignable to type 'string'.
    Type 'number' is not assignable to type 'string'.

received a type error trying to use this library with typescript 2.9.1. it expected T and U to extend string | number | symbol, not just string.

Thanks 👍


feat(tutorial): complete step 5

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

Hi Alison , here is the url:
http://maifestyml.mybluemix.net
Thanks


Video snaps via url

Probably not a huge priority but since every thing is browser based through urls and cloud storage it made me think of Reset Collection’s feature of using YouTube urls as a video snap location for the box art and UI. Might add further to the full “Big Box Emulator” style set up you got going. Amazing work on the project btw. I used to have like 7 seperate browser based emulators to use on my iPhone before I discovered WebRCade

Thanks a lot, really appreciate it!
I haven't had as much time to focus on the front-end, but adding video support would be great (and pretty simple as it is all web based).
Thanks a lot for the feedback.

That or possibly a screen transition


Add pybullet client id

PR for issue #1

Hi @mees,
Thanks for the PR!
Adding self.cid means that the users have to know the client id before instantiating a Sensor object. They also need to be very careful not to pass the object/link id of the wrong client when calling add_camera and add_object. But I think we can revisit this if this become an issue.
Can you use black (specified in .pre-commit-config.yaml) to format the code in tacto/sensor.py? This can be done either by remaking the commit with pre-commit installed or running pre-commit manually (i.e., pre-commit run --files tacto/sensor.py && git commit).
Other than that, this looks good to me.

Thanks @poweic, I totally forgot about pre-commit, let me know if this resolves the issue.

BTW, shouldn't pre-commit be then listed in the requierements.txt file ?


buildGoPackage: keep string context

In Nix, each string has a context that it carries of where it
originated. Some functions like filterAttrs modify the context of its
args when doing comparisons. That is important because we use the
string context of “name” to get where a derivation was defined. This
causes some builtins like unsafeGetAttrPos to report incorrectly that
the string was set in lib/attrsets.nix and reporting that as the
source file. Using removeAttrs avoids this problem.
Fixes #63679

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build pet jx


aarch64: gemm_kernel_fused misses validation

The gemm_kernel_fused misses validation ("sgemm_nt_eqld_bop1_uop2_cvnni0").
A reproducer looks like:
LIBXSMM_TARGET=aarch64 ./gemm_kernel_fused 15 37 88 15 37 15 1.000000 0.000000 0 0 0 1 nopf F32 nobr 1 0 1 0 1 2 0

Should be fixed now by 02df5f8343a12d799ad945047d7f0f248914545c


How to config moduleDirectory?

For example:
"settings": {
    "import/parser": "babel-eslint",
    "import/resolve": {
      "moduleDirectory": ["node_modules", "src"]
    }
  },

moduleDirectory isn't a standard setting of anything I'm aware of; where do you configure that currently?

My problem has been solved. This is my code:
"settings": {
    "import/resolver": {
      "node": {
        "moduleDirectory": [
          "node_modules",
          "src"
        ]
      }
    }
  }


Plane config

creation of model PlaneConfiguration (class + properties and methods)
plane constants added in OGREConstants.js
API route to retrieve data in DB from table plane_configuration

this pull request is outdated. It has been replaced by the pull request #8


docs(logo): update logo

Codecov Report

Merging #19 (172a51e) into master (78770ba) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #19   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines           61        61
  Branches         7         7
=========================================
  Hits            61        61

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 78770ba...172a51e. Read the comment docs.


Please add .idea folder to repo

for shared code style and inspection profile, see for example:
https://github.com/TWiStErRob/android-realistic/blob/90864275cefb018bd158a09368d577785a235422/.gitignore#L30-L36
and potentially do a full format on the project

ah!

It uses https://github.com/square/java-code-styles right now (as do all my projects). I've been debating about using google-java-format but it does some nasty things to builders. I should probably relent, though. -- JakeWharton

#124!

Nice, thanks!
(Square's annotation style makes so much more sense, but I guess this is why it's anti-bs, no choices)

That style is the same as Google's, it's just that google-java-format
doesn't respect it for whatever reason.
On Wed, Jun 26, 2019 at 6:21 AM Róbert Papp<EMAIL_ADDRESS>wrote:

Nice, thanks!
(Square's annotation style makes so much more sense, but I guess this is
why it's anti-bs, no choices)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/dagger-reflect/issues/10?email_source=notifications&email_token=AAAQIELA4EO2WHISERZO5B3P4M7KZA5CNFSM4GUAXKDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYTCCKQ#issuecomment-505815338,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAQIEN2O3HG5CQ4ZQD6QULP4M7KZANCNFSM4GUAXKDA
.


Mod - RimHUD - Self heal cause desync

I know this is mod compatibility related, however it might help fix other issues.
When using RimHUD mod, if you set the self-heal attribute through the rimhud, it causes you to desync. Self heal through the regular button works fine though.

As mentioned in #39 there is a warning when a job is generated through interface buttons. I think this is actually an issue with the multiplayer mod as it effects multiple other mods. The fact that the programmer inserted a warning to be logged when this happens suggests that this is not an unknown problem.


V1.18.0: Rounded Half Gauge: tiny KPI value

Current Behavior
Half Gauge - Rounded:  The KPI value (5.4) is tiny and out of proportion compared with the previous version.

Expected Behavior
The value/unit (24.6) is big and visible

Steps To Reproduce
No response
Environment
Dashboard version: 1.18.0
Node-RED version: 4.0.5
Node.js version: v20.6.0
npm version: 9.8.1
Platform/OS: MacOS
Browser: Chrome Version 128.0.6613.138 (Official Build) (arm64)
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate

Problem was introduced in https://github.com/FlowFuse/node-red-dashboard/pull/1353/files#diff-db418d12c562abfca7a5d735428a2e24ac2cd54a3795550187a71f698335474fR396-R409 - fix incoming


Access to $this and viewHelpers in .tpl file?

Hi, I have problem. How access to $this variable in .tpl file?
In .phtml eg. <?= $this->doctype() ?> or <?= $this->url('home') ?> but how in .tpl?
{$this->doctype()} not working...
Best regards!

I have the same problem. did you resolve it ?

Unfortunately, I did not find a solution to my problem :-(

I found a system which was working but it was made for Smarty 3 + ZF2
https://github.com/NikolayMurha/SmartyModule
below the result of my current work :

all the problem seems to be issued from src/View/Renderer.php, we have to change the line 64
if ($values instanceof ArrayObject) {
$values = $values->getArrayCopy();
} else {
$values = new ArrayObject();
}
$values['this'] = $this;
if we make that change, $this is not null but there are some missing func like {$this->url}

in that case, we have inherit PhpRenderer and not implement
but i have now that error :
[Wed Nov 28 14:01:20 2018] PHP Fatal error:  Uncaught Zend\View\Exception\RuntimeException: No RouteStackInterface instance provided in C:\Travail\Sogesa\PHP\gpmZF3\vendor\zendframework\zend-view\src\Helper\Url.php:60

Actually i found a solution to this problem, cuz i was bugging with it myself.
In Renderer class under View you need to add several methods to get it working:
public function setHelperPluginManager($helper)
    {
        if (is_string($helper)) {
            if (! class_exists($helper)) {
                throw new InvalidArgumentException(sprintf(
                    'Invalid helper helpers class provided (%s)',
                    $helpers
                ));
            }
            $helper = new $helper(new ServiceManager());
        }
        if (! $helper instanceof HelperPluginManager) {
            throw new InvalidArgumentException(sprintf(
                'Helper helpers must extend Zend\View\HelperPluginManager; got type "%s" instead',
                (is_object($helper) ? get_class($helper) : gettype($helper))
            ));
        }
        $helper->setRenderer($this);
        $this->helper = $helper;

        return $this;
    }

    public function getHelperPluginManager()
    {
        if ($this->helper === null) {
            $this->setHelperPluginManager(new HelperPluginManager(new ServiceManager()));
        }

        return $this->helper;
    }

    public function plugin($name, array $options = null)
    {
        return $this->getHelperPluginManager()->get($name, $options);
    }

    public function __call($method, $argv)
    {
        $plugin = $this->plugin($method);

        if (is_callable($plugin)) {
            return call_user_func_array($plugin, $argv);
        }

        return $plugin;
    }

YOu also have to add a helper protected property in this class.
I figured it out by digging through zf3s PHP Renderer class.

Should be integrated with #6


Email notification not working

Issue Description
Cant make watcher or reported notify via email

Reproducing the Issue step-by-step
my kibana.yml configuration:

server.port: 5601
server.host: "<IP_ADDRESS>"
elasticsearch.url: "http://<IP_ADDRESS>:9200"
logging.verbose: true
sentinl:
es:
timefield: '@timestamp'
default_index: watcher
type: watch
alarm_index: watcher_alarms
sentinl:
history: 20
results: 50
settings:
email:
active: true
host: localhost
ssl: false
report:
active: true
tmp_path: /tmp/

Reporter:

{
"_index": "watcher",
"_type": "watch",
"_id": "reporter_testni",
"_score": 1,
"_source": {
"trigger": {
"schedule": {
"later": "every 1 minute"
}
},
"report": true,
"actions": {
"report_admin": {
"report": {
"to": "sentinl@localhost",
"from": "sentinl@localhost",
"subject": "SENTINL Report",
"priority": "high",
"body": "Sample SENTINL Screenshot Report",
"snapshot": {
"res": "1280x900",
"url": "http://www.google.com",
"path": "/tmp/",
"params": {
"delay": 5000
}
}
}
}
}
}
}

And Watcher:

{
"_index": "watcher",
"_type": "watch",
"_id": "watcher-testmail",
"_score": 1,
"_source": {
"disable": false,
"uuid": "watcher-testmail",
"trigger": {
"schedule": {
"later": "every 1 minute"
}
},
"input": {
"search": {
"request": {
"index": "[filebeat-{now/d}]",
"body": {}
}
}
},
"condition": {
"script": {
"script": "payload.hits.total > 1"
}
},
"transform": {},
"actions": {
"email_admin": {
"email": {
"to": "sentinl@localhost",
"from": "sentinl@localhost",
"subject": "Sentinl Alarm",
"priority": "high",
"body": "Found {{payload.hits.total}} Events"
}
}
}
}
}

Expected Results vs. Actual Results
No data is forwarded to the smtp host at all on port 25.

From kibana log on reporter execution:
["status","info","Sentinl"],"pid":24575,"message":"Executing report: reporter_testni"} {"type":"log","@timestamp":"2017-01-20T13:48:00+00:00","tags":["status","info","Sentinl"],"pid":24575,"message":"Processing action: report_admin"} {"type":"log","@timestamp":"2017-01-20T13:48:00+00:00","tags":["status","info","Sentinl","report"],"pid":24575,"message":"Subject: SENTINL Report, Body: Sample SENTINL Screenshot Report"}
["status","info","Sentinl","report"],"pid":24575,"message":"Reporting Disabled! Email Required!"}
And log for watcher does not even pass condition in (!emailServer || !config.settings.email.active)
{"type":"log","@timestamp":"2017-01-20T13:51:00+00:00","tags":["status","info","Sentinl"],"pid":24575,"message":"Executing watch: watcher-testmail"} {"type":"log","@timestamp":"2017-01-20T13:51:00+00:00","tags":["status","info","Sentinl"],"pid":24575,"message":"Processing action: email_admin"} {"type":"log","@timestamp":"2017-01-20T13:51:00+00:00","tags":["status","info","Sentinl","email"],"pid":24575,"message":"Subject: Sentinl Alarm, Body: Found 35888 Events"} {"type":"log","@timestamp":"2017-01-20T13:51:00+00:00","tags":["status","info","Sentinl","email"],"pid":24575,"message":"Delivery Disabled!"} {"type":"log","@timestamp":"2017-01-20T13:51:00+00:00","tags":["status","info","Sentinl"],"pid":24575,"message":"Storing Alarm to ES with type:email_admin"} {"type":"log","@timestamp":"2017-01-20T13:51:00+00:00","tags":["status","info","Sentinl"],"pid":24575,"message":"Alarm stored successfully to ES with type: [email_admin]"}
As you can see from the watcher and reporter configuration, email is set..Any idea what the issue might be ?

Additional Details
Setup is:
ES 2.4.4
Kibana 4.5.4
Centos 6.8
Sentinl 4.6.3-SNAPSHOT

Thanks !

HI @gparapid
All I can guess is the settings are not properly formatted for whatever reason ie localhost instead of "localhost" but I can't tell from the specific paste

I am so embarresed right now...As I had v5.0 before downgrade, I was editind kibana.xml inside /etc/kibana...
insted of /opt/kibana/config.closing

We all did it at least once! :)


Auto corrected by following Lint Ruby EmptyLine

Auto corrected by following Lint Ruby EmptyLine
Click here to configure it on awesomecode.io

Coverage remained the same at 97.134% when pulling abaee89301027fd555e9227b0080dcef840a3541 on awesomecode-lint-ruby-emptyline-40248 into 749e1b74098cbcb0bf3a9ded0f02862aceddd764 on master.


from PyQt5 import QtWebEngineWidgets ImportError: cannot import name 'QtWebEngineWidgets' from 'PyQt5'

from PyQt5 import QtWebEngineWidgets
ImportError: cannot import name 'QtWebEngineWidgets' from 'PyQt5'

resolved.. QtWebEngineWidgets is now it's own package.
pip uninstall QtWebEngineWidgets
pip install QtWebEngineWidgets


Copyright notice missing

In order to properly use a library with an Apache license, a copyright notice like "Copyright (C) 201x-2017 Christophe Smet" is required. Could you add this with the license in the README.md?

Does d51245736aea0c3482c8ba28a6751e4e49de3168 work for you ?

Yes that's perfect!


Great project! Any sources for data input?

Any sources to get data from for the map to work?

Yes. You can post any message to Node server and node server will push it to web page.


Kerberos authentication?

Hello - I've searched and not found anything current, so asking here.  Found a similar question from 2012 on Sourceforge, but no reply.
Has any discussion taken place about what it would take to add the ability to use Kerberos tickets to authenticate?  Or does the ability already exist in a branch?  -Thanks

@mikerj1 I don't believe SSPI or CredSSP is supported by XRDP's implementation of RDP. @jsorg71 could probably comment more on this, but I did go digging into this while implementing Xrdp for a multiuser machine. Getting CredSSP working might complicate matters for XRDP since it would have to handle the ticket in a secure way to ultimately get it into the ticket cache in the session. As it stands XRDP uses scripts to handle the sessions and it's not ideal if you are going to handle Kerberos tickets.

Hi,
CredSSP is not yet implemented in xrdp.
Another thing to notice is that CredSSP is all about passing your plain
username and password encrypted by using the Kerberos or NTLM context key.
That is totally doable for Kerberos using GSSAPI.
NTLM though is a bit complex since we need to keep users NTLM hash on xrdp
box too.
בתאריך יום ד׳, 2 בנוב׳ 2016 ב-21:55 מאת mikerj1<EMAIL_ADDRESS>Hello - I've searched and not found anything current, so asking here. Found
a similar question from 2012 on Sourceforge, but no reply.
Has any discussion taken place about what it would take to add the ability
to use Kerberos tickets to authenticate? Or does the ability already exist
in a branch? -Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/neutrinolabs/xrdp/issues/475, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADTH1KjBSn0GCIOpf5OCqTEHqie-hPYGks5q6OqogaJpZM4KnrWu
.
--
Idan Freiberg
PGP FP: 8108 7EC9 806E 4980 75F2  72B3 8AD3 2D04 337B 1F18

For us, Kerberos/GSSAPI is what we'd use, not NTLM.  Has this question been asked before or often?

@mikerj1 I don't think so, I went looking decided it was not worth bringing up but I was under a deadline to solve our issue. SSO would be awesome for sure.

+1

I also compiled the sources with -DWITH_KRB5=ON in the hope freerdp could connect to a Windows (or even better, xrdp) server with the kerberos ticket.
It compiled, but I see no way to connect with kerberos... Am I missing something or the support is still incomplete?

Bump. :) +1

me too, +1

Bump 👍

You can use Kerberos via SSSD, however you need to disable GPO stuff, or properly configure them, for your domain. See my quick fix here:
https://github.com/neutrinolabs/xrdp/issues/1489#issuecomment-1559861649


Adding streamid to more errors

During an event, various systems tried to pull nonexistent streams but I wasn't sure which OBS and which streamid.  This helps narrow it down (by looking at the console to see what stream it's looking for, or which stream is behind in packets).  Normally I'd triage via IP alone but with NAT is gets tricky.

Ah right, I can see how that could be a problem. Thanks.


Unable to downgrade from v0.8.0-rc1 to v0.7.5

meta-rte version

v0.8.0-rc1
Affected component(s) or functionality

Update process
Brief summary

Unable to downgrade from v0.8.0-rc1 to v0.7.5
How reproducible

Tried once
How to reproduce
https://github.com/3mdeb/meta-rte?tab=readme-ov-file#update
Expected behavior

Update/downgrade should proceed or at least clearly inform the user that downgrade is not possible (what shouldn't be the case? I would expect a warning and eventually force flag required to proceed).
Actual behavior

After updating and rebooting, I get into v0.8.0-rc1
Screenshots

Additional context

There are some error logs during update: https://paste.dasharo.com/?f6e9043d2a5ca14c#4jUo78E5XkC1KU1FE2ufmfuW3mSpAECn5Kp5Ef8oja8P
Solutions you've tried

Log rather shows successful flashing, so this may be a problem with update process in general if this can be reproduced later on.


Update README.md

Description
Add Codecov badge to README.md
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

Codecov Report

Merging #4 (861b6e3) into main (b12ad18) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main        #4   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           27        27
  Lines          213       213
  Branches        50        50
=========================================
  Hits           213       213

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 b12ad18...861b6e3. Read the comment docs.


[bug] File Transfer Fails in Custom Directories on Android 1.15+ Versions

Describe the bug
After updating to LocalSend version 1.15+ on my Android device, I have encountered an issue where file transfers fail when the save directory is set to a location outside the default "Download" directory. This issue was not present in previous versions.
Based on my observations, the issue seems to be related to the permissions requested by the app. In earlier versions, after setting a custom path, the app would request "Manage All Files (MANAGE_EXTERNAL_STORAGE) " permission, which allowed file transfers to custom directories. However, in versions 1.15+ this permission request appears to be removing, leading to transfer failures when using non-default directories.
I am not certain if this issue occurs on all devices, but it has consistently occurred on my device.
To reproduce

Update LocalSend to version 1.15+ on an Android device.
Change the save directory to a non-Download directory.
Try transferring the file to this device.
Observe the error message indicating a failure in file transfer.

Expected behavior
The file transfer operation was successful.
Screenshots

Desktop (please complete the following information)

OS: Windows 11 (22631.3880)
Version: 1.15.1

Smartphone (please complete the following information)

Device: Redmi Note 12 Turbo
OS: HyperOS <IP_ADDRESS> with Android 14
Version: 1.15.0 & 1.15.1

Additional context
No response

Yes！i can reapper on ColorOS 14 with Android 14.  Error will apper unless the path is "Download"

I trid to give it root access or adb access, but  Error still apper.

Yes, #1493 did broke some things. I've noticed that you can create a sub folder like "Download/LocalSend" and it should work (if you want to have a separate LocalSend folder).
Other than that, I guess we need to use "content URI" to save files outside the Download folder.
For example: https://github.com/localsend/localsend/blob/422e65dde19726c8f35a5a09e31f7103b0c88b3e/app/lib/util/native/file_saver.dart#L33
It might have a performance impact because Dart/Flutter doesn't write directly to the file system anymore.

I've noticed that you can create a sub folder like "Download/LocalSend" and it should work (if you want to have a separate LocalSend folder).

Yeah, this is indeed a temporary solution.

Can confirm, The temporary solution does work, however applying the same sub folder method still throws an error if i select external SD Card as download path.


build::migrate from OSD5 build to OSD7 build

build::migrate from OSD5 build to OSD7 build

no OSD5 build anymore
OSD7 build instead

OSD5 Runner is already replaced by OSD7 Runner completely.
This ticket can be closed.


Roll engine 15f2b92cce91..fac24d938ad9 (18 commits)

https://github.com/flutter/engine/compare/15f2b92cce91...fac24d938ad9
git log 15f2b92cce916982b7dd8ce658bbf2a465c06ba4..fac24d938ad9c73035c3b28367b89ba8a4d361b2 --no-merges --oneline
fac24d938 Roll src/third_party/skia 88bfed46ab6e..95b014790f93 (3 commits) (flutter/engine#7661)
5dcf3cfd2 Roll src/third_party/skia 5b257abb87d2..88bfed46ab6e (8 commits) (flutter/engine#7657)
93452747f Initial import of FDE macOS framework (flutter/engine#7642)
54f546715 Roll src/third_party/skia 1bd245b91801..5b257abb87d2 (5 commits) (flutter/engine#7656)
e71daf6cf Roll src/third_party/skia ea2dc6a6bc11..1bd245b91801 (1 commits) (flutter/engine#7655)
4f5e1709b Roll src/third_party/skia e9742a5a0db1..ea2dc6a6bc11 (1 commits) (flutter/engine#7654)
ef1a7f8ce Roll src/third_party/skia 8a484d0203d9..e9742a5a0db1 (2 commits) (flutter/engine#7653)
28339c864 Roll src/third_party/skia b7af275ebbf5..8a484d0203d9 (3 commits) (flutter/engine#7652)
7fa77ef03 Fix two typos in embedder docs (flutter/engine#7649)
e9419bf6d Roll src/third_party/skia 9c8ad0316147..b7af275ebbf5 (3 commits) (flutter/engine#7650)
b94e759b2 Expose the Flutter engine, Dart and Skia versions to Dart. (flutter/engine#7634)
64e17076c Document make_resource_current on FlutterOpenGLRendererConfig and warn if the callback is not set. (flutter/engine#7648)
e7eb1c8bf Update the verify_exported script to include the symbols for ICU data (flutter/engine#7647)
b032bbd0c Roll src/third_party/skia 70ebd9ca0616..9c8ad0316147 (9 commits) (flutter/engine#7646)
2c610bfec Fix dynamic array -> vector (flutter/engine#7645)
09a3735ea Respect default goma path on Windows (flutter/engine#7643)
050dcaad6 Embed ICU data inside libflutter.so on Android (flutter/engine#7588)
c92df428e Strut implementation (flutter/engine#7414)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (dnfield@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/6554983165067264 , https://cirrus-ci.com/task/5992033211645952

Commit queue failed; closing this roll.


Spark on Ray on Vertex AI notebook

REQUIRED: Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.

This notebook demonstrates how Spark applications can be run on Ray on Vertex AI through a few examples.

REQUIRED: Fill out the below checklists or remove if irrelevant

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[x] Use the notebook template as a starting point.
[x] Follow the style and grammar rules outlined in the above notebook template.
[x] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[x] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[x] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[x] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[x] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

If you are opening a PR for Community Notebooks under the notebooks/community folder:

[ ] This notebook has been added to the CODEOWNERS file under the Community Notebooks section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

If you are opening a PR for Community Content under the community-content folder:

[ ] Make sure your main Content Directory Name is descriptive, informative, and includes some of the key products and attributes of your content, so that it is differentiable from other content
[ ] The main content directory has been added to the CODEOWNERS file under the Community Content section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun


Bold text of navbar items

Feature idea.
navbar items not looking clear and it needs to be clear to user

I would like to work on this issue,please assign it to me


Nick: Watch greenstardriving.ca

Nick requests the watch of the watch_keyword greenstardriving\.ca. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

greenstardriving\.ca has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Yellowstone S02

Just checked if there are any episodes for yellowstone s02, found none. Checked via NZBFinder,ws and there where all episodes avaible
thank a lot for ur work

Moving this to #56


Add dependencies for libx264/x265 on deb packages

This commit adds dependencies for libx264 / libx265. You'll note that the packages being added are -dev packages; these are effectively being used as a metapackage to pull in the latest library because Debian and Ubuntu include the version in the package name for libx264 and lib265, which makes it more difficult to specify as a dependency while maintaining compatibility with most distributions.

This should resolve https://github.com/alvr-org/ALVR/issues/874 and is not built or tested yet.


fix: build-json moving subsection

Summary of PR
Explicitly set the keys instead of spreading. This helps fix the moving around of subsection key issue.
Tests for unexpected behavior

Subsection key doesn't move

Time spent on PR
3.5 hours
Linked issues
Fix #1786
Reviewers
@Harjot1Singh @Sarabveer

Some are due to https://github.com/ShabadOS/database/pull/1486
build-sqlite and then build-json wasn't run

Do we want to then make changes here? Or reopen that pr, rebase it with this and then run build-json ?

LGTM on the Data side of things

fix(build) is not a scope btw, build: is probably the right scope for this


Prefix search

hello, i want to search "obama" only with "oba" or just "ama"
btw it's wilcard or regex support?

You want to do a regex query or a range query. (Expressing it as a range query is kind of cumbersome.)
These exists in tantivy, but they are not part of the query language, so they are not accessible in tantivy-cli.


Fix http error handling

Right now, hashie can't manage the error, since it's waiting for an hash, and response.body is a string.
This fix by @pcreux should fix the issue.

Hey @dechuck and @pcreux thanks so much for taking the time to send over a PR :)
It looks good to me! It seems I don't have write access on this repo right now. I'm gonna ask someone to merge it or get some write access to have it done for you today :)

Thanks!
When do you plan to tag master?

@dechuck Thanks for the PR, I had a chance to cut a release for master at 0.1.1 tonight.
https://rubygems.org/gems/buffer/versions/0.1.1


clean up tests

Coverage remained the same at 92.269% when pulling 734716d1a9dc77380460867b64188d4c7c0f7e6a on fix into 09b93c2379e4fa6865e52f7538260fe08fc48cbf on master.


Javascript not loaded

Hi.
First of all thanks for sharing your work. I'm desperately looking for a decent megamenu for Drupal 8 and I like how you designed this module.
I tried to install and configure the mega_menu in my Drupal 8 site but javascript is not loaded. I can see the menu but it's rendered as a normal bullet list.
I tried to figure out how why but  without luck.
Can you help me make it work on my site? Or give an idea on how to solve it?
Thanks
David

Hi, we've heavily modified this module to work with a project we did so I'm not totally sure if it will work out of the box like a regular mega menu.
There isn't much styling included in the module so it will render like a bullet list.
I'm not sure if I'll have the time to do anything with the module in the near future.

Thanks for your help. I'll try it by myself and get back to you in case I find a fix or create a styling that works.
Thanks.


merging code to team branch

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
Approval requirements bypassed by manually added approval.
This pull-request has been approved by: sohimanshu
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
Approval requirements bypassed by manually added approval.
This pull-request has been approved by: sohimanshu
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@so-hvats: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
099f10c4099f2b8a300b0dcee260f5267865634f
link
/test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.