Publish-Module failure to publish a module to a Package Manager hosted in VSTS

When I try to publish a PowerShell module to a Package Manager hosted in VSTS I'm getting the following error:
Publish-PSArtifactUtility : Failed to publish module 'MSTrueUp': 'Credential plugin C:\ProgramData\Microsoft\Windows\PowerShell\PowerShellGet\CredentialProvider.VSS.exe handles this request, but is unable to provide credentials. Auth tokens could not be retrieved. Remove the -NonInteractive flag and try again
'.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\<IP_ADDRESS>\PSModule.psm1:1227 char:17

            Publish-PSArtifactUtility -PSModuleInfo $moduleInfo `

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (:) [Write-Error], WriteErrorException
FullyQualifiedErrorId : FailedToPublishTheModule,Publish-PSArtifactUtility

I'm getting the same error regardless of whether I'm providing the API key as a parameter (tried both VSTS and PAT) or as a PSCredential, as well as if I'm using v2 or v3 NuGet feeds.
Expected Behavior
The module should get published successfully.
Current Behavior
Publish-Module fails regardless of what I try
Possible Solution
Couldn't find
Steps to Reproduce (for bugs)

Create a feed on VSTS.
Generate PAT to access the service
Register-PSRepository -Name  -SourceLocation <.../v2> -PublishLocation <.../v2/Packages> -InstallationPolicy Trusted
Create a PowerShell module (I used the one generated using Plaster via VSCode). Update Author and Description fields as necessary
Publish the module as follows:
Publish-Module -Path  - Repository  -NuGetApiKey ''
or
Publish-Module -Path  - Repository  -Credential <Username: email; Password: PAT>

Context
I was trying to publish a module
Your Environment
Name                           Value

PSVersion                      5.1.14393.693
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.693
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
Directory: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version    Name                                ExportedCommands

Script     <IP_ADDRESS>    PackageManagement                   {Find-Package, Get-Package, Get-PackageProvider, Get-Packa...
Binary     <IP_ADDRESS>    PackageManagement                   {Find-Package, Get-Package, Get-PackageProvider, Get-Packa...
Script     <IP_ADDRESS>    PowerShellGet                       {Install-Module, Find-Module, Save-Module, Update-Module...}
Script     <IP_ADDRESS>    PowerShellGet                       {Install-Module, Find-Module, Save-Module, Update-Module...}
PS U:> Get-PackageProvider
Name                     Version          DynamicOptions

msi                      <IP_ADDRESS>          AdditionalArguments
msu                      <IP_ADDRESS>
NuGet                    <IP_ADDRESS>        Destination, ExcludeVersion, Scope, SkipDependencies, Headers, FilterOnTag...
PowerShellGet            <IP_ADDRESS>          PackageManagementProvider, Type, Scope, AllowClobber, SkipPublisherCheck, ...
Programs                 <IP_ADDRESS>          IncludeWindowsInstaller, IncludeSystemComponent
PS U:> Get-PackageProvider -ListAvailable
Name                     Version          DynamicOptions

msi                      <IP_ADDRESS>          AdditionalArguments
msu                      <IP_ADDRESS>
nuget                    <IP_ADDRESS>
nuget                    <IP_ADDRESS>
NuGet                    <IP_ADDRESS>        Destination, ExcludeVersion, Scope, SkipDependencies, Headers, FilterOnTag...
PowerShellGet            <IP_ADDRESS>          PackageManagementProvider, Type, Scope, AllowClobber, SkipPublisherCheck, ...
PowerShellGet            <IP_ADDRESS>
Programs                 <IP_ADDRESS>          IncludeWindowsInstaller, IncludeSystemComponent

I have a semi-working version that does publish to VSTS feeds though I need to clean it up a bit as it was a PoC and am planning on working on this more over the weekend.
@bmanikm @JKeithB - I do need to discuss this further with you both in a lot of detail as I think that this kinda links in with at least the following issues #37 #60 #59 #13 and would help in solving some of the rest too

I'm currently recircling back to this and should have an update in the next few days

@kilasuit, that's great news. Can't wait for it.

Hey @kilasuit, I was just wondering if there are any news regarding this?

Hey glober.  There is a workaround for this.  It is entirely unacceptable that it has almost been a full year since this issue was reported for it to remain unsolved, but if you have not found the workaround and are still looking for it, check out this link.

Please take a look at the sample script provided at https://github.com/PowerShell/PowerShell-Docs/issues/1200 for using VSTS feeds with PowerShellGet module.


Checks that username starts with a letter

Fixes check to ensure that username starts with a letter.
Closes: #1
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!

@googlebot I fixed it.


go run inside module includes go files excluded with tags

What version of Go are you using (go version)?
go version go1.11.4 linux/amd64
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
GOARCH="amd64"
GOBIN="/home/leighmcculloch/local/bin"
GOCACHE="/home/leighmcculloch/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/leighmcculloch/go"
GOPROXY=""
GORACE=""
GOROOT="/home/leighmcculloch/local/bin/go"
GOTMPDIR=""
GOTOOLDIR="/home/leighmcculloch/local/bin/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/leighmcculloch/devel/looks.wtf/service/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build662240678=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Ran go run . inside a modules directory, where the module contains two main functions, one which is inside a file that is restricted with a build tag.
Example repository: https://github.com/leighmcculloch/go-issue-29405
What did you expect to see?
I expected go run . to respect the build tags that are set or not set, and to only see a single Go file containing a main function.
What did you see instead?
When I ran go run . it included the Go file containing the second main function, and printed out this error:
$ go run .
# test
./script.go:6:6: main redeclared in this block
        previous declaration at ./main.go:5:6

Perhaps I'm missing something, but it looks to me like you're just missing a newline. This also explains why go build also complains.
$ go build
# test
./script.go:6:6: main redeclared in this block
        previous declaration at ./main.go:5:6
$ [edit script.go]
$ git diff
diff --git a/go.mod b/go.mod
index 060e28b..e27256d 100644
--- a/go.mod
+++ b/go.mod
@@ -1 +1,3 @@
 module test
+
+go 1.12
diff --git a/script.go b/script.go
index 973e057..b4bccaa 100644
--- a/script.go
+++ b/script.go
@@ -1,4 +1,5 @@
 // +build script
+
 package main

 import "fmt"
$ go build
$ echo $?
0

I ran this on go version devel +97d5cb24b1 Sat Dec 22 09:37:04 2018 +0000 linux/amd64, so ignore the go 1.12 change.

Oh no, not this mistake again. 🤦♂


Password and email not mention in doc or Sample scripts for unity c#.

How to use password and email for login web3Auth SDK for unity. there is no doc or sample script for it. how to send email and password together Web3Auth Unity Sdk C#?

@chaitanyapotti
I have the same request. How can we login without redirecting to an external site, especially important in VR?


feature_generator broken now that paths.rb has been removed

Kind of disappointed with the major changes in 1.1.0, but the real let down is that "rails g cucumber:feature" now breaks because of the removal of paths.rb and this line in feature_generator.rb:
18: gsub_file 'features/support/paths.rb', /'/'/mi do |match|
Maybe I just missed something, but I did a fresh rails 3.1. project and the standard:
rails g cucumber:install
rails g cucumber:feature sample
and it blew up on me.

I agree that the feature generator and paths.rb are very helpful for novices who don't remember the syntax easily.  I don't use the generator in my mature rails apps, but I often use it for teaching.  When the students have to do less rote typing, it gives them more space for learning.

Not sure what you mean. The feature generator is entirely removed in
the latest version, so how can it be broken?
On Nov 28, 2011, at 4:48, Sarah Allen
<EMAIL_ADDRESS>wrote:

I agree that the feature generator and paths.rb are very helpful for novices who don't remember the syntax easily.  I don't use the generator in my mature rails apps, but I often use it for teaching.  When the students have to do less rote typing, it gives them more space for learning.

Reply to this email directly or view it on GitHub:
https://github.com/cucumber/cucumber-rails/issues/175#issuecomment-2889978

My comment was in response to its removal, agreeing with JGailor.  I see your "training wheels" gem, but which will help people who are following old books, but doesn't help people new to cucumber.  I know it is challenging to create a template that embodies best practices, but I would encourage you to do so.  I know, you think someone else should do it and it shouldn't ship with cucumber-rails, but I think the creators of cucumber are in the best position to recommend best practices.


Value::get does not function as advertized in the README

README says:
// For convenience way, you can use get() when you're sure that the value exists.
// If type error occurred, std::runtime_error is raised.
toml::Value v = ...;
cout << v.get<string>("foo.bar") << endl;

However, get is templated to return actual types rather than Value objects like so:
string& s = v.get<string>("foo.bar");
cout << s << endl;

Fixing it to return a value as advertised wouldn't change the syntax much, and would allow us to confirm the type before getting the actual value.
toml::Value& v = root.get("foo.bar");
if (v.is<string>())
    cout << v.as<string>() << endl;

If the original behaviour is still desired, it is probably best as an overload to Value::as since the template version has no params:
string& s = v.as<string>("foo.bar");
cout << s << endl;

Thanks for the report, and sorry for late response. I didn't notice this issue mail for long..., really sorry.
When I wrote this, my intention is that get(...) is a short way for find(...)->as().
However, it is also reasonable that get(...) is the same as *find(...).
In my opinion, I'd like to keep the current behavior. If get(...) is the same as *find(...), get() is almost meaningless. Just use find(). Since we need to get an actual type from toml::Value when using a value, the current behavior is more convenient.

Updated README in 4e34224.
WONTFIX.


Tuesday 14-05-2024 roll call

Roll Call!
Leave a comment with these two things:

A summary of your study using only emojis
Something you'd like to share, anything goes! (within respect)

emoji cheat sheet

🍓

hi

hello.....

Good Morning.

🤺

Bonjour !

good morning

Hey

Hello

💯

Good morning


Internal error: Dynamic model properties with underscores cannot be used

Larastan Version: 2.6.5
--level used: 0

Description
After updating to 2.6.5, the analysis fails with an internal error:
Internal error: Internal error: Method __test() was not found in reflection of class App\Models\Model. while analysing file /app/Test.php
Laravel code where the issue was found

$foo = new App\Models\Model;

$foo->__test = 'bar';

Hi,
Can you give more examples? How is the actual attribute is defined?

Hi,
the attribute "__test" is not defined in the model and is set as a dynamic property. It works without the underscores:

$foo = new App\Models\Model;

$foo->test = 'bar';

Can you run phpstan with --debug flag and post the stacktrace?

@canvural I have added a PR that fixes the issue.

@canvural Is there anything else I can do? I don't think the failed tests have anything to do with my PR.


这篇文章误导了我一星期的学习时间

@waynebaby commented on Tue Oct 09 2018
这篇文章误导了我一星期的学习时间
因为
1 本机调试的时候iis express 或者asp.net core 进程必须用 azure 订阅账号权限登陆，所以我用公司账号的机器连接 msid 的azure账号试用了一辈子不成功 死的心都有
2 根本没告诉用户需要在 IAM 里面设置app service 的权限 所以你的app service连不上
3 根本没告诉用户 deploy的时候要在deploy profile里面加上 add a key vault.

文档详细信息
⚠ 请勿编辑此部分。 docs.microsoft.com ➟ GitHub 问题链接必须具有此部分。

ID: ead83747-c629-e979-f0c5-5e4ba7eab154
Version Independent ID: 792525b0-b7ad-aa7b-5425-cbd9dcfc3844
Content: 使用 Visual Studio 将 Key Vault 支持添加到 ASP.NET 项目
Content Source: articles/key-vault/vs-key-vault-add-connected-service.md
Product: visual-studio-dev15
GitHub Login: @ghogen
Microsoft Alias: ghogen

Hi team,
The user is reporting the following issues (rough translation) on the documentation:
1 When the machine is debugging, the iis express or asp.net core process must be logged in with the azure subscription account permission, so I use the company account machine to connect to the msid azure account and try it for a lifetime without success.
2 Did not tell the user to set the permissions of the app service in IAM, so your app service can't connect.
3 Did not tell the user at all when deploying add a key vault in the deploy profile.
Thanks!

Thanks for the feedback! We are currently investigating and will update you shortly.

@LisandroSu @waynebaby Thanks for providing inputs to enhance the document. I have assigned the issue to the content author to investigate and update as appropriate.

Added steps for Publish that show how to make sure the Key Vault info is specified at Publish time.  This should address the issues you're raising. If not, please reactivate.
#please-close


Missing code section

It is said in this ICAPS paper "Making Translations to Classical Planning Competitive with Other HTN Planners" that the code for HTN2SAS is integrated into this code :
"The code is integrated into the pandaPI system and can be found at https://github.com/panda-planner-dev/pandaPIengine."
The issue is, i can't find it anywhere, where can it be found?

Hi Nico,
Hm. The code is available in a separate repository: https://github.com/galvusdamor/pandaPIengineToSAS
We probably wrote this into the paper and then forgot about actually integrating the code into the main-line planner. Do you need this time-critically?
Gregor

Hi Gregor,
Thanks for the reply, the new repository you linked me doesn't seem to be
public. I need to check your results and the translated files, when would
you be able to publish the code?
Nicolas
Le jeu. 16 févr. 2023, 17:44, Gregor Behnke @.***> a
écrit :

Hi Nico,
Hm. The code is available in a separate repository:
https://github.com/galvusdamor/pandaPIengineToSAS
We probably wrote this into the paper and then forgot about actually
integrating the code into the main-line planner. Do you need this
time-critically?
Gregor
—
Reply to this email directly, view it on GitHub
https://github.com/panda-planner-dev/pandaPIengine/issues/5#issuecomment-1433384253,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALC5T42M5UNWSMI33NQUYTDWXZKNDANCNFSM6AAAAAAU6M4PFM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi Nicolas,
The repo is now public. I have also spend the time to properly integrate the translation into the main-line engine. I.e. the version at pandaPIengineToSAS is now the main-line version from this repo plus the translation.
I have not yet added full explicit instructions on how to use it, but the --help should provide sufficient explanations. I'll write something here.

The translations work better (i.e. are smaller and faster to solve) if the grounder is called with certain options

For total order planning run the planner with -2i (no 2-regularisation) or -2it (with 2-regularisation)
For partial order, use the options -2ie.

To access the translation based engine, you need to provide arguments of the following type

./pandaPIengine -2 --downward=/PATH/TO/FASTDOWNWARD/builds/release/bin/downward --iterate problem.sas

This will call the default configuration and iterate over the progression bound until a solution has been found. The starting progression bound is the computed minimal one. The encoding will be selected based on the characteristics of the problem and will either be the total-order one, the push encoding, or the parallel-sequences encoding.
The engine has a few additional features to override its defaults

--pgb X sets the initial progression bound to X
--transtype X sets the used translation to X where the choices are push, parallelseq, to, postrips, pocond. IMPORTANT: by default pandaPIengine will override your choice if he knows better, i.e., knows that one encoding will be better then the one chosen by you - but there will be an output if he does so. To force him to use the specified encoding add --forceTransType.

push is the Push encoding from the paper
parallelseq is the PSeq encoding from the paper
postrips is the "old" HTN2SAS encoding from the paper
to is the total order encoding with method compression. Method compression cannot be be disabled.

--pgbsteps X sets the step size of the increment in the progression bound
--onlyGenerate forces the planner not to try to solve the generated problem. I.e. you get the output SAS+ file for the specified progression bound and nothing else. This will disable iteration
--iterate if provided the planner will iterate over the progression bound until a solution is found. If you don't provide it (which you should in general) it will stop after the first progression bound
--sasfile X sets the name of the generated SAS+ file to X. By default this is output.sas. If you want to run multiple engines in parallel (e.g. on a cluster) you must change this to avoid name clashes.
--downwardConf X sets the search configuration of Fast Downward to X. The argument X is provided directly to Fast Downward. If you don't provide this, the engine will use a default configuration which is reasonable (Enforced hill climbing with FF followed by lazy-greedy search with FF).

I have not yet run a full suite of experiments with the new code integration. The base code of the encoding is the same as in the paper. I however cannot exclude the possibility of an integration issue. I'll write something here once I have completed the test. At that time I will also integrate the code into this repository.
You can however already use the engine as is.
For checking what the translation does, you can use both the output.sas and the output of the engine - it e.g. tells you how many actions/operators it has generated for a given progression bound.
If you encounter any problem or have any question, please don't hesitate to ask.

Hi Gregor,
Thank you for your answer again ! I will try the full process and let you
know if I find any bug doing a full run.
Have a nice day,
Nicolas
Le ven. 17 févr. 2023, 12:53, Gregor Behnke @.***> a
écrit :

Hi Nicolas,
The repo is now public. I have also spend the time to properly integrate
the translation into the main-line engine. I.e. the version at
pandaPIengineToSAS https://github.com/galvusdamor/pandaPIengineToSAS is
now the main-line version from this repo plus the translation.
I have not yet added full explicit instructions on how to use it, but the
--help should provide sufficient explanations. I'll write something here.

The translations work better (i.e. are smaller and faster to solve)
if the grounder is called with certain options

For total order planning run the planner with -2i (no
2-regularisation) or -2it (with 2-regularisation)
For partial order, use the options -2ie.

To access the translation based engine, you need to provide
arguments of the following type

./pandaPIengine -2
--downward=/PATH/TO/FASTDOWNWARD/builds/release/bin/downward --iterate
problem.sas
This will call the default configuration and iterate over the progression
bound until a solution has been found. The starting progression bound is
the computed minimal one. The encoding will be selected based on the
characteristics of the problem and will either be the total-order one, the
push encoding, or the parallel-sequences encoding.
The engine has a few additional features to override its defaults

--pgb X sets the initial progression bound to X
--transtype X sets the used translation to X where the choices are
push, parallelseq, to, postrips, pocond. IMPORTANT: by default
pandaPIengine will override your choice if he knows better, i.e., knows
that one encoding will be better then the one chosen by you - but there
will be an output if he does so. To force him to use the specified encoding
add --forceTransType.

push is the Push encoding from the paper
parallelseq is the PSeq encoding from the paper
postrips is the "old" HTN2SAS encoding from the paper
to is the total order encoding with method compression. Method
compression cannot be be disabled.

--pgbsteps X sets the step size of the increment in the progression
bound
--onlyGenerate forces the planner not to try to solve the generated
problem. I.e. you get the output SAS+ file for the specified progression
bound and nothing else. This will disable iteration
--iterate if provided the planner will iterate over the progression
bound until a solution is found. If you don't provide it (which you
should in general) it will stop after the first progression bound
--sasfile X sets the name of the generated SAS+ file to X. By
default this is output.sas. If you want to run multiple engines in
parallel (e.g. on a cluster) you must change this to avoid name
clashes.
--downwardConf X sets the search configuration of Fast Downward to
X. The argument X is provided directly to Fast Downward. If you don't
provide this, the engine will use a default configuration which is
reasonable (Enforced hill climbing with FF followed by lazy-greedy search
with FF).

I have not yet run a full suite of experiments with the new code
integration. The base code of the encoding is the same as in the paper. I
however cannot exclude the possibility of an integration issue. I'll write
something here once I have completed the test. At that time I will also
integrate the code into this repository.
You can however already use the engine as is.
For checking what the translation does, you can use both the output.sas
and the output of the engine - it e.g. tells you how many actions/operators
it has generated for a given progression bound.
If you encounter any problem or have any question, please don't hesitate
to ask.
—
Reply to this email directly, view it on GitHub
https://github.com/panda-planner-dev/pandaPIengine/issues/5#issuecomment-1434533685,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALC5T4Y37KNLJHCEA32DBJDWX5RDJANCNFSM6AAAAAAU6M4PFM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi Nicolas,
Just in case you are interested: there is a competition for HTN planners this year: HTN IPC 2023. If you want to join (I assume you have a planner of your own?), just send me an email.
Cheers,
Gregor


getmdl.io down

I tried to check some documentation on getmdl.io website, but it seems the website is down as the time this issue submitted.

Working here...
Where are you located roughly? Could be a regional thing.

Located in Turkey, there is no problem with other websites (google's). When I ping, the IP address I got is: <IP_ADDRESS>

cc @crhym3
Alex may know how to debug these kinds of things further. Not much I can do here without a VPN coming out of Turkey to test myself with (and hoping it has the same network conditions you're facing.)

nice try :)


[WIP] Updating Phase banner and removing user research banner

Before

After

Ticket: https://trello.com/c/spJvyHsC

We want to do this change across all apps at the same time, but we can't do this for supplier frontend yet, so I'm adding the WIP label to this PR.

This was done in #190, closing.


Disable the cursor on the screen?

Is there a way to disable the cursor from showing up on the screen?  Right now it travels around in a weird way.  I've checked Widget.py, and Screen.py and searched around but it seems like there's no option to disable the cursor from showing up.  I'm a noob.  Any ideas?

The cursor should be switched off, which is why asciimatics emulates its own in text widgets...  Sounds like you've hit a bug.  My best guess is that you're running on a curses system (*nix or Mac) and using a bad terminal definition.
Can you please give more details of your system - e.g. operating system, version of asciimatics, terminal/console you are using and (if it is *nix) the output of infocmp.

Windows 10, VSCode terminal.  Should I try in a Git Bash or CMD maybe?  Also thanks for the response so late at night!  I'm impressed with how attentive you are to this project.  A true labor of love.  Love everything about the library so far!  Just learning the basics and trying to write my own Widgets for a Blackjack Game!

UPDATE: ran in windows CMD and everything is working as planned.  Thanks for the info.  I should hav tried this first.

Not that late where I am.
I'm surprised it ran at all inside vscode!  Most IDEs don't run enough of the console system to even start.


Prevent live updates to recordContents.podLabels

This is a partial revert of #6378.
We cannot easily support live updates to recordContents.podLabels, as it requires re-creating the IPFIXExporter, so that a new IPFIX template set can be sent.

I think we can still have this live update for other Exporters? Is it better to disable the update only when ipfixExporter is enabled?

I think we can still have this live update for other Exporters? Is it better to disable the update only when ipfixExporter is enabled?

That's a good point.
The current approach is not correct, so I will close this PR.
I think the best thing to do would be to update the IPFIXExporter and have it send an updated template. That should be supported by https://github.com/vmware/go-ipfix/blob/main/pkg/exporter/process.go.

I was thinking:

Whether it's better to remove the includePodLabels parameter while initiating the IPFIXExporter (just like other Exporters, to have general columns ).
Or have more templateID for different data schema when initiating the IPFIXExporter. (Not sure if it is easier than updating templateID/data schema at ipfix side?)

Whether it's better to remove the includePodLabels parameter while initiating the IPFIXExporter (just like other Exporters, to have general columns ).

I think this is a good approach. We should always include podLabels in the template. I think there is no ambiguity because we can use "" as the field value when podLabels are not being filled, and "{}" when podLabels are being filled, but the Pod has no labels.
I will open an issue to track his. However, there are other problems with live config updates for the IPFIXExporter, so I still need to open a new PR to address these.


Unable to build artifact

Because of errors like
src/main/java/com/enstratus/logstash/layouts/JSONMessage.java:[9,18] error: package sun.net.idn does not exist

You might need to use OpenJdk (https://github.com/lusis/zmq-appender/blob/master/.travis.yml)


Fix withprogress with reduce(..., simd=true)

Codecov Report

Merging #135 into master will decrease coverage by 0.31%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #135      +/-   ##
==========================================
- Coverage   88.27%   87.95%   -0.32%
==========================================
  Files          19       19
  Lines        1185     1162      -23
==========================================
- Hits         1046     1022      -24
- Misses        139      140       +1

Impacted Files
Coverage Δ

src/progress.jl
92.59% <100%> (+6.22%)
:arrow_up:

src/reduce.jl
79.36% <0%> (-14.49%)
:arrow_down:

src/basics.jl
33.33% <0%> (-10.42%)
:arrow_down:

src/core.jl
73.2% <0%> (-1.48%)
:arrow_down:

src/processes.jl
88.66% <0%> (-0.67%)
:arrow_down:

src/unordered.jl
93.02% <0%> (-0.6%)
:arrow_down:

src/show.jl
94.87% <0%> (-0.05%)
:arrow_down:

src/dreduce.jl
100% <0%> (ø)
:arrow_up:

src/library.jl
93.52% <0%> (+0.24%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


MA  no longer play the playlist after the first track is finished

What version of Music Assistant has the issue?
version: "2.0.0b41"
The problem
After the addon update, playlist stops playing the next track after the first track is finished. Manual track action move to the next track down the list.
How to reproduce
N/A
Relevant log output
N/A
Additional information
Uninstalled and reinstalled the addon with no change
What version of Home Assistant Core are your running
2023.7.1
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi

Confirm if this is still a problem with b43?

I can confirm that this is still a problem with b48.

Tried to enable "flow mode" in the player's settings and appears to be working...including the loop and random functions!


[Bug] Cannot get request.object.metadata.deletionTimestamp

Kyverno Version
1.10.x
Kubernetes Version
1.27.x
Kubernetes Platform
EKS
Description
A ClusterPolicy with:
      preconditions:
        all:
        - key: "{{request.object.metadata.deletionTimestamp || `0` }}"
          operator: Equals
          value: null

I cannot apply this policy with the error:
admission webhook "validate-policy.kyverno.svc" denied the request: path: spec.rules[0].validate.preconditions.all[0].: entered value of key, valueoroperatoris missing or misspelled
Is there a way to match the Pod without the request.object.metadata.deletionTimestamp
Steps to reproduce
Apply a policy with the cluster policy above
Expected behavior
can apply the policy
Screenshots
No response
Kyverno logs
No response
Slack discussion
No response
Troubleshooting

[X] I have read and followed the documentation AND the troubleshooting guide.
[X] I have searched other issues in this repository and mine is not recorded.

You cannot compare something to null because the key field requires a value and null in YAML is the lack of a value. You should invert the logic so you check that it is NotEquals to value of 0.


Update repo link

Description
Update the repo link in the project.

Hey @vplasencia, I would like to work on this. Can you please assign me?

Yes, thanks. Done ✅


[CHALLENGE SUBMISSION] - Day 16

Please provide the following information for your submission:
What is your name? (First, Last)
Stuart Leaver
Where is your GitHub Repo ?(With your challenge solution)
https://github.com/stuartleaver/25-days-of-serverless/tree/master/16-ci-cd-for-azure-functions
What Challenge is this for? (Challenge number between 1 and 25)
16
(Optional) Anything else we should know? e.g., language used, location, blog post?
A C# Azure Function acting as an API for the Posada finder. Then an Azure DevOps multistage pipeline deploying the Function to a 'dev' environment and then based on the result of a test, a 'production' environment.

From all of us on the Cloud Advocacy team at Microsoft, thank you for creating this issue!
Have a Happy Holiday season!
Feel free to share your solution on Twitter with the tag #25DaysOfServerless

THANK YOU FOR YOUR #25DaysOfServerless SUBMISSIONWe checked your repository and we're thrilled to say your solution is now listed in our  Hall of Fame.Thank you for your contributions!

This issue is now resolved! 🎉 🙌🏼


Can't view User Manager Page when changing the Administrator Path

Seeing this when changing admin path

instead of this:

@localnetwork Just tested this and couldn't reproduce. I changed my path several times and no issues.
Do you have any other plugins? Can you test on a fresh install?

Closed due to inactivity.

Closed due to inactivity.


Tweak info time format

Signed-off-by: TomSweeneyRedHat<EMAIL_ADDRESS>This change touches up the way podman info represented the uptime.  Before it was:
  os: linux
  uptime: 464h26m52.62s

With this change it is:
  os: linux
  uptime: 464h 26m 52.62s (Approximately 19.33 days)

(on a newly created machine)
  os: linux
  uptime: 20m 2.53s

As I believe @mheon mentioned in a previous review, coming up with an exact number for the days is tricky at best due to a day being 23, 24, or 25 hours long.  Plus the odd leap second, minute, or what have you.  So I chickened out and went with the approximation.  It's just an in the neighborhood thing and I find it handy myself.
This PR originally had a change to the CLI help to remove a duplicate 'build', @sjenning beat me to the punch on that one in #413

This should wrap up #353

@rh-atomic-bot r+


Form field

Forgot to open a PR

Yeah, FormField without Form. There isn't really much use in Form, as this is more of a style and layout component as opposed to a form logic component. We'll leave that to form libraries of Svelte (with which we will hopefully be compatible)


PAAS-9951

Jira Tickets included in PR are:

PAAS-9951: Create staging chef-server role cookbook

As a PaaS Engineer, I want to have HA chef server deployments in each cloud region.  This will require a stateless frontend chef server with RDS/cloudsql backend and (possibly) a separate elasticsearch/elasticcloud service.

Acceptance:
- Update chef-server cookbook to latest public version (5.4.0) by pulling in that tag for that release
- Create a staging chef-server role cookbook that uses RDS as a database
- Do not enable any of the premium chef componetns (manage, reporting, etc)
- Restore a backup from our production chef using knife-ec-backup


Some UI additions to #2919

ISSUE TYPE

Improvement Request

COMPONENT NAME

UI

CLOUDSTACK VERSION

4.12

SUMMARY

Enhancement of #2919
From the internal review, some additions were raised to the UI of this feature:

Upon submission add a warning message that the changes will take place after management restart

Pre-fill the UI form with the data user is about to change. This would make it far more easier for the end user to figure out what needs changing if anything.

one thing to keep an eye here is the masked password, if not changed we need to make sure we send the same (current one) as update instead of bunch of asterisks.

STEPS TO REPRODUCE
Go to Infra -> select a zone -> select 'Update VMware Datacenter details'

looks like a feature so 4.14 and not 4.13.1,  @borisstoyanov @andrijapanicsb Can you have a slavic mob meeting about this one?

Not sure if we'll have the time for this one, moving to 4.15, unless @shwstppr or someone can pick it up

I think these are largely addressed (pre-filling UI form and masked password) in Primate.

We don't do this yet though Upon submission add a warning message that the changes will take place after management restart cc @davidjumani

Moved here https://github.com/apache/cloudstack-primate/issues/577


[AutoPR] adhybridhealthservice/resource-manager

Created to accumulate context: adhybridhealthservice/resource-manager

Closing PRs that are older than 1 month.


Consider changing the "main" entry point in package.json

This is a follow-on to #189, which adds a runtime accessor class.
Currently, require('messageformat') gets you a class that's the public API for our compiler. It's used internally by the CLI and all the Webpack loaders, as well as any other user-specific integration. With #189, we're adding a second endpoint that would then be targeted towards use in code that's closer to  the app that's in use, which could be available with something like require('messageformat/get').
I think those might arguably make more sense in reverse order, so e.g. require('messageformat/compiler') for the compiler and just require('messageformat') for the runtime. I think that would more closely model our suggested usage pattern:

compile strings during build using the CLI, a loader, or some custom integration
during runtime, use the generated functions

Given that presuming the above usage pattern it would be more common for application code references to be for the runtime, it would make more sense for that to be the default/main entry point. Whether that's actually reflected in reality is a separate question, albeit a rather relevant one.
Thoughts?

Closing this as won't-fix because the breakage would be too great for old code, for no actual benefit. Also, the accessor method is now available as messageformat/messages, which is nicer.


Create a "report out" to RS about the gameday exercise

Design or Research
Lessons were learned during the Game day exercise. We know there is a heavy dependency on ReportStream and those learned lessons can be valuable to the RS team to see if we can collaboratively solve how to make the process better.
Tasks

[ ] Something.

Additional Context
This idea came out of sprint 47 retro

Incident management work is ongoing in other tickets. Closing


plot_bifurcation_diagram() doesn't work with wide-formatted covariate data

plot_bifurcation_diagram relies on model.variable_column_name having a value which is not nothing
For instances where a user is using wide-format covariate data they set variable_column_name = nothing resulting in the following error when trying to use plot_bifurcation_diagram with a model using wide-format covariate data:
MethodError: no method matching getindex(::DataFrame, ::Colon, ::Nothing)

Stacktrace:
 [1] plot_bifrucation_diagram(model::MultiUDE, xvariable::String; N::Int64, color_variable::Nothing, conditional_variable::Nothing, size::Tuple{Int64, Int64})
   @ UniversalDiffEq C:\Users\user\.julia\packages\UniversalDiffEq\iRceU\src\ODEAnalysis.jl:678
 [2] plot_bifrucation_diagram(model::MultiUDE, xvariable::String)
   @ UniversalDiffEq C:\Users\user\.julia\packages\UniversalDiffEq\iRceU\src\ODEAnalysis.jl:657

I can include an MWE if needed but this should occur anytime when using plot_bifurcation_diagram for a model with kwarg variable_column_name = nothing

Isn't it the behavior of most functions that take covariates to require them to be supplied in long format?

At least within our package, all other functions that use covariates support both at this moment.
As an alternative to changing this function to work with wide format we could drop wide-format support or provide a warning that wide format has limited functionality when defining a model with wide-format covariates.

Thanks for catching this! I'll work on it - were you using a multiple or single time series model?

I was using multiple time series


Status Indicator Yellow?

Hi and THANK YOU for writing this module.
I think my status indicator is yellow (a yellow square in the top right corner).
Alexa doesn't seem to be responding.
I've purged pulseaudio and followed the instructions in the readme.md file setting the audio devices.
What other info can I look at to determine what the problem is?
BTW - I was able to use the same raspberry pi, speakers, and mic with this other Alexa project (on a different sd card jessie installation): https://youtu.be/frH9HaQTFL8
Thanks in advance for the help!

@petergiordano what do you have in chrome log when you run with development environment?

OK. I am a bit of a noob .. where is chrome log?
Does the log get written to by setting debug to true in the config.js file?
Thanks in advance!

Also ran into this, solution was to request a new initial key.
However, now I just have a Red (orange?) square. Debug log doesn't show any action when I push the GPIO 4 switch.


feat(pdk) new PDK function kong.log.override_log_serializer_field to

allow plugins safely overriding basic log serializer fields
Fields such as client_verify needs to be overwrite by plugins sometimes.
This PR provides a safe interface for doing so in an hope to avoid
hacks.
Background: https://github.com/Kong/kong/pull/4626#pullrequestreview-239660134
Note: @thibaultcha's proposal to set ngx.var.ssl_client_verify will result in Lua errors like this:
lua entry thread aborted: runtime error: rewrite_by_lua(nginx.conf:113):2: variable "ssl_client_verify" cannot be assigned a value
stack traceback:
coroutine 0:
    [C]: in function 'error'
    ...uild-tools/buildroot/openresty/lualib/resty/core/var.lua:114: in function '__newindex'
    rewrite_by_lua(nginx.conf:113):2: in main chunk, client: <IP_ADDRESS>, server: , request: "GET / HTTP/1.1", host: "127.1:4443"

Because built-in variables are not indexed (not created by the set directive).

About that note. How about setting ngx.ctx.ssl_client_verify and still fallback to ngx.var.ssl_client_verify in case context value is missing?
kong.log in my opinion has nothing to do with basic-serializer that is just a file in plugins folder that many (not all)  the logging plugins use to format the log message. kong.log on the other hand is just about writing lines to Nginx error log.
I would probably like to see e.g. configurable log-serializer rather than adding PDK function to modify basic serializer. Perhaps that infrastructure could also filter the input data before giving it to formatter.

@bungle that was my original thought, although it is an ugly hack that will show a bad example to plugin authors:
Setting prearranged ctx value for intra plugin communication is not an advised use pattern and shows bad example for other plugin authors to follow.
I don't mind moving the function elsewhere, even inside the log-serializer package.
I don't think this can be solved within the existing plugin config framework, because log serializer is built into Kong and user naturally expects it to work with other plugins in meaningful ways without explicit configuration.


To add working steps in largest cube that can be inscribed within the sphere

Is your feature request related to a problem? Please describe.
To add working steps in largest cube that can be inscribed within the sphere

Hi, I want to work on this issue I will start working on it as soon as I get assigned!! I am a part of GSSoC'21.
Kindly assign this issue to me!
Discord Username : Abhijeet Sinha(P)
Discord Tag: #4018


Problems running locally

Describe the bug
After executing the command bin/dev to run the application locally, I obtain an error in the installing dependencies step. Although the error seems related to a corrupted cache, I have tried to delete the cache but the error still exists.
To Reproduce
Steps to reproduce the behavior:

Clone repository
Execute bin/dev

Expected behavior
Application starts
Screenshots

Desktop (please complete the following information):

OS: WSL

That's an odd one... are you running the main branch, or a tag? If you switch to the latest release tag instead, does it do anything differently? I might have broken something in the dependencies by accident in the dev version.

Hi again!
I have tried with the latest release tag and the error still appears. But, after that, I have tried with other computer (ubuntu this time) and I have completed this step successfully. So I suppose that the error is related to my windows with WSL.
Now I have a new error related to OpenSSL. I don't know if this is a problem with something missing in my installation or what.
Maybe you know something about that, if not I think that we can close the issue.
Thanks for your help.

I think that's because that flag is only introduced in more recent versions of OpenSSL; can you check if there's any upgrade available for your system package? I will check the required version...

OK, so OpenSSL went to v3 in Ubunty Jammy, 22.04, but 4 previous Ubuntu releases are still supported or in security maintenance (20.04 LTS, 18.04 LTS, 16.04 LTS, 14.04 LTS), and they only have OpenSSL 1. So, I should fix the code.

OK, there's a fix on main, give it a go.

Thanks! Now all is working and I have started the local environment successfully. Thanks for your support 😁


Background of dialog is transparent.

There is no background css style for ai-dialog, which causes the background of the dialog to be transparent.

this is fixed in version 0.4.4

Closuing, @michaelmalonenz is correct this issue is fixed.


Test pyxspec

Installs pyxspec and runs the xspec tests

Codecov Report

Merging #415 (5bf1e8f) into master (8957b06) will decrease coverage by 0.03%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #415      +/-   ##
==========================================
- Coverage   73.16%   73.13%   -0.04%
==========================================
  Files         112      112
  Lines       13493    13496       +3
==========================================
- Hits         9872     9870       -2
- Misses       3621     3626       +5

Codecov Report

Merging #415 (5bf1e8f) into master (8957b06) will decrease coverage by 0.03%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #415      +/-   ##
==========================================
- Coverage   73.16%   73.13%   -0.04%
==========================================
  Files         112      112
  Lines       13493    13496       +3
==========================================
- Hits         9872     9870       -2
- Misses       3621     3626       +5


[BUG] ValueError: Input contains NaN, infinity or a value too large for dtype('float32').

Subject 50818 on ABIDE -- Original data of this subject are already skull-stripped.
Node: workflow_enumerator.anatMRIQCT1w.ComputeIQMs.datasink
Working directory: /scratch/users/oesteban/abide-mriqc_0.9.6-2017-06-03-99db97c9be2e/work/workflow_enumerator/anatMRIQCT1w/ComputeIQMs/_in_file_..mnt..ABIDE..sub-50818..anat..sub-50818_T1w.nii.gz/datasink

Node inputs:

_outputs = {'qi_2': 0.0}
acq_id = <undefined>
ignore_exception = False
metadata = {}
modality = T1w
out_dir = /scratch/users/oesteban/abide-mriqc_0.9.6-2017-06-03-99db97c9be2e/output/derivatives
provenance = {'md5sum': 'bd73296032ac9b5213e4cf41b0df5e54', 'settings': {'testing': False}, 'software': 'mriqc', 'version': '0.9.6', 'warnings': {'large_rot_frame': True, 'small_air_mask': True}}
rec_id = <undefined>
root = {'cjv': 0.2608123444201726, 'cnr': 1.7054842602848836, 'efc': 0.9041243483932278, 'fber': 24.444971084594727, 'fwhm_avg': 3.1803224669591423, 'fwhm_x': 3.1456601874959578, 'fwhm_y': 3.33940721338147, 'fwhm_z': 3.0559, 'icvs_csf': 0.14686643050689055, 'icvs_gm': 0.4930881119376994, 'icvs_wm': 0.36004545755541006, 'inu_med': 0.8618232011795044, 'inu_range': 0.22448201477527618, 'qi_1': nan, 'rpve_csf': 42.623302183537476, 'rpve_gm': 14.851360577727169, 'rpve_wm': 23.315195229783093, 'size_x': 256, 'size_y': 200, 'size_z': 256, 'snr_csf': 0.8715727860599374, 'snr_gm': 7.95122520719356, 'snr_total': 9.748457453611977, 'snr_wm': 20.422574367582435, 'snrd_csf': 0.7270025313469332, 'snrd_gm': 2.079163651534624, 'snrd_total': 2.1670934599330693, 'snrd_wm': 3.6951141969176513, 'spacing_x': 0.9999999403953552, 'spacing_y': 1.0000008344650269, 'spacing_z': 1.0, 'summary_bg_k': 0.0, 'summary_bg_mad':<PHONE_NUMBER>7170357, 'summary_bg_mean': 0.0, 'summary_bg_median': 0.0, 'summary_bg_n': 188966.0, 'summary_bg_p05': 0.0, 'summary_bg_p95': 0.0, 'summary_bg_stdv':<PHONE_NUMBER>5106886, 'summary_csf_k': 42.32025914971041, 'summary_csf_mad':<PHONE_NUMBER>5664062, 'summary_csf_mean':<PHONE_NUMBER>2128906, 'summary_csf_median':<PHONE_NUMBER>1445312, 'summary_csf_n': 3024.0, 'summary_csf_p05': 29.138742256164548, 'summary_csf_p95':<PHONE_NUMBER>166992, 'summary_csf_stdv':<PHONE_NUMBER>1875, 'summary_gm_k': 0.03782641700396283, 'summary_gm_mad': 71.3491439819336, 'summary_gm_mean':<PHONE_NUMBER>101562, 'summary_gm_median':<PHONE_NUMBER>070312, 'summary_gm_n': 36017.0, 'summary_gm_p05':<PHONE_NUMBER>2617186, 'summary_gm_p95':<PHONE_NUMBER>3125, 'summary_gm_stdv': 70.76602172851562, 'summary_wm_k': 2.9202531574857797, 'summary_wm_mad': 42.710601806640625, 'summary_wm_mean': 1000.9536743164062, 'summary_wm_median': 1000.0093383789062, 'summary_wm_n': 149925.0, 'summary_wm_p05':<PHONE_NUMBER>0625, 'summary_wm_p95': 1078.071337890625, 'summary_wm_stdv': 48.96571731567383, 'tpm_overlap_csf': 0.19709305465221405, 'tpm_overlap_gm': 0.5123806595802307, 'tpm_overlap_wm': 0.5198429822921753, 'wm2max': 0.8576228226852947}
run_id = <undefined>
session_id = <undefined>
subject_id = 50818
task_id = None

Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.6/site-packages/nipype/pipeline/plugins/multiproc.py", line 52, in run_node
    result['result'] = node.run(updatehash=updatehash)
  File "/usr/local/miniconda/lib/python3.6/site-packages/nipype/pipeline/engine/nodes.py", line 372, in run
    self._run_interface()
  File "/usr/local/miniconda/lib/python3.6/site-packages/nipype/pipeline/engine/nodes.py", line 482, in _run_interface
    self._result = self._run_command(execute)
  File "/usr/local/miniconda/lib/python3.6/site-packages/nipype/pipeline/engine/nodes.py", line 613, in _run_command
    result = self._interface.run()
  File "/usr/local/miniconda/lib/python3.6/site-packages/nipype/interfaces/base.py", line 1081, in run
    runtime = self._run_wrapper(runtime)
  File "/usr/local/miniconda/lib/python3.6/site-packages/nipype/interfaces/base.py", line 1029, in _run_wrapper
    runtime = self._run_interface(runtime)
  File "/usr/local/miniconda/lib/python3.6/site-packages/mriqc/interfaces/bids.py", line 200, in _run_interface
    prov_dict['mriqc_pred'] = int(cvhelper.predict(np.array([features]))[0])
  File "/usr/local/miniconda/lib/python3.6/site-packages/mriqc/classifier/cv.py", line 363, in predict
    return self.estimator.predict(datapoints).astype(int)
  File "/usr/local/miniconda/lib/python3.6/site-packages/sklearn/utils/metaestimators.py", line 54, in <lambda>
    out = lambda *args, **kwargs: self.fn(obj, *args, **kwargs)
  File "/usr/local/miniconda/lib/python3.6/site-packages/sklearn/model_selection/_search.py", line 448, in predict
    X = check_array(X, dtype=DTYPE, accept_sparse="csr")
  File "/usr/local/miniconda/lib/python3.6/site-packages/sklearn/utils/validation.py", line 407, in check_array
    _assert_all_finite(array)
  File "/usr/local/miniconda/lib/python3.6/site-packages/sklearn/utils/validation.py", line 58, in _assert_all_finite
    " or a value too large for %r." % X.dtype)
ValueError: Input contains NaN, infinity or a value too large for dtype('float32').
Interface IQMFileSink failed to run.

Run into this with ds000001 sub-04.

Does it look like skull-stripped?

Yup! We should handle this more gracefully though.
On Tue, Jun 13, 2017 at 3:16 PM, Oscar Esteban<EMAIL_ADDRESS>wrote:

Does it look like skull-stripped?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/poldracklab/mriqc/issues/546#issuecomment-308264753,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOkpza83wSmkZg68Gt7TGFbLQiiq8roks5sDwoygaJpZM4NwUSa
.

Sure, that's why I opened the issue :+1:
But it is good to know that we have a reliable way to find skull-stripped datasets :p


Add Linux SocketCAN Support

Need to add support for SocketCAN in addition to Kvaser Linuxcan to make more applicable to other platforms and users.

We've decided to go a different route with this. We're going to add Kvaser support to ros_canopen instead. Watch that repo for updates.


Rails 6.1 fix

Module#parent_name has been removed in Rails 6.1. The method is now called module_parent_name.
Instead of calling different methods based on Rails version it makes sense to use deconstantize, which was there from at least Rails 3.

Just saw this guy too FYI.

@rsamoilov, why not just add an appraisal for that version of Rails?

Coverage increased (+0.3%) to 99.732% when pulling 4460f2a33714dba12482b71fefb1220945bd174c on rails-6-1-fix into 2026373a8762cf591cf54028c71835cb01700615 on main.


HttpsUrlConnection downloads are not cancellable (solution: shade in another HTTP client?)

OkHttp 3 (and 2, for that matter) support cancellation, but the HttpsUrlConnection facade on Android for it does not.

Don’t really need to cancel HTTP transfers very much, and a hard problem to solve. Ignore.


Plans on Cost Explorer's get_cost_and_usage

Hello! I am aware Cost Explorer is available now in moto, but only for certain features.
So, I have a quick question, are there any plans on mocking Cost Explorer's get_cost_and_usage?

This is now part of moto >= 5.0.3.dev16.
Cost or usage is not tracked by Moto, so this call will return nothing by default. You can configure your own results though, so the API will return whatever data you want.
See the documentation here:
http://docs.getmoto.org/en/latest/docs/services/ce.html


uninitialized constant Twitter::REST

Assuming this got fixed in #479 and reared its head due to some other issue now.
I literally only installed ruby 2.4, then did gem install t, and this is what happened.
Traceback:
/var/lib/gems/2.4.0/gems/t-3.1.0/lib/t/cli.rb:82:in `authorize': uninitialized constant Twitter::REST::Client::BASE_URL (NameError)
	from /var/lib/gems/2.4.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
	from /var/lib/gems/2.4.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
	from /var/lib/gems/2.4.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
	from /var/lib/gems/2.4.0/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
	from /var/lib/gems/2.4.0/gems/t-3.1.0/bin/t:20:in `<top (required)>'
	from /usr/local/bin/t:23:in `load'
	from /usr/local/bin/t:23:in `<main>'

gem list says:
*** LOCAL GEMS ***

addressable (2.5.2)
bigdecimal (1.3.2, default: 1.3.0)
buftok (0.2.0)
domain_name (0.5.20170404)
equalizer (0.0.11)
geokit (1.11.0)
htmlentities (4.3.4)
http (3.0.0)
http-cookie (1.0.3)
http-form_data (2.0.0)
http_parser.rb (0.6.0)
io-console (default: 0.4.6)
json (2.1.0, default: 2.0.4)
launchy (2.4.3)
memoizable (0.4.2)
multipart-post (2.0.0)
naught (1.1.0)
oauth (0.5.3)
openssl (2.0.6, default: 2.0.5)
psych (2.2.4, default: 2.2.2)
public_suffix (3.0.1)
rdoc (5.1.0, default: 5.0.0)
retryable (2.0.4)
simple_oauth (0.3.1)
t (3.1.0)
thor (0.20.0)
thread_safe (0.3.6)
twitter (6.2.0)
unf (0.1.4)
unf_ext (<IP_ADDRESS>)

Not sure how to progress. Workarounds?

Tried this in ruby 2.1 as well, with same result.

I'm getting the same issue, not quite sure what to do either. My ruby version is ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16].
It seems to be failing to find a constant in the twitter library, it's looking in Twitter::REST::Client but from what I can see in the file - https://github.com/sferik/twitter/blob/d7951759da897e6a8e3ed0069b2e850470991e3f/lib/twitter/rest/client.rb it's not there. It seems to actually be in Twitter::REST::Request I believe?

Ah I see the issue - https://github.com/sferik/twitter/compare/v6.1.0...v6.2.0 BASE_URL used to reside in that file but has been moved. So when Twitter 6.2.0 was released, versions of this are breaking.
Any chance someone could fix the version to 6.1.0 so this library will continue working? I'm not a huge ruby expert, you'd also need publish access.

Yeah, I guess if moving the constant out to a different location was a deliberate move, then this should be flagged as a breaking change, thus a major release should've been released. Got here from getting the same error when running a fresh install of https://github.com/sferik/t (gem install t).
I'd suggest unpublishing v6.2.0 (gem yank?) and republishing it as v7.0.0.

I’m working on a fix for this issue now. Sorry for the trouble.

Thanks @sferik, looking forward to being able to use the CLI client 👍

Thank you for working on this, waiting on it :D

Patiently waiting for this fix as well. Thanks for working on it! 👍

Also waiting :-) Thanks!

Also waiting. Thanks for working on this! 👍

waiting here as well...thanks!

OK guys i know you're impatient but this nagging absolutely has to stop.  This isn't goddamn twitter. Go live out your ADHD over there. The guy obviously hasn't been on github since november - look at his activity - so what are you trying to achieve with this? He's busy with his real life (yeah, some people have one) and is going to get around to it... WHEN HE GETS AROUND TO IT. Stop nagging or I'll close the bug report!

Here's your workaround folks: edit /Library/Ruby/Gems/2.3.0/gems/t-3.1.0/lib/t/cli.rb, or maybe /Library/Ruby/Gems/*/gems/t-*/lib/t/cli.rb if you don't have that file. Replace the two instances of Twitter::REST::Client::BASE_URL with Twitter::REST::Request::BASE_URL and you're good to go.

expanding on @rvagg: ubuntu 17.10, file was located at /var/lib/gems/2.3.0/gems/t-3.1.0/lib/t/cli.rb

expanding on @rvagg: OS X 10.12.6 w/ rvm, file was located at ~/.rvm/gems/ruby-2.4.3/gems/t-3.1.0/lib/t/cli.rb

@sferik would love some help getting this fixed so i can use t again!

It's not the prettiest solution, but if anyone just wants to get this working you can do it with bundler: Make a Gemfile with gem "t" and 'gem "twitter", "6.1.0", call bundle installand then run it withbundle exec t`

Also not the prettiest solution:
I copy the .twurlrc (from Twurl https://github.com/twitter/twurl) to .trc
then run t as usual.
cheers

@fuzz or @ialexs, could either of you describe these two solutions in a little more detail?
I didn't see .twurlrc in the Twurl repo, and I don't know that I have bundle installed. I'm not familiar with that tool, and the name seems pretty Google-proof.
Thanks,

@jasonhemann
Go to https://apps.twitter.com/
Ensure your app (whether newly created or otherwise) has Read, Write and Access direct messages permissions
Locally run gem install twurl
Run twurl authorize --consumer-key {YOUR APP'S CONSUMER KEY} --consumer-secret {YOUR APP'S CONSUMER SECRET}
Follow the steps it requests that you do
Copy ~/.twurlr to ~/.trc
Essentially what @ialexs seems to mean is, copy the file generated by twurl

The above totally worked for me

Huge noob here- no file was generated by twurl, and not sure where to copy it if so.
"6/. Copy ~/.twurlr to ~/.trc"
@DelphicOkami
Tried editing the cli.rb and that didn't help either. Thanks in advance!

The path to my cli.rb file was listed in the error message output after I entered my API keys (my path was different from the paths listed above).
Once I edited both instances of Twitter::REST::Request::BASE_URL, the installation completed.

Really, this has been broken for eight months without a fix? WTH?

Let's be nice here. This is a 12-year old open-source project. It is not unreasonable that the original maintainer might not jump in and fix bugs after all that time.
Anyone with Ruby skills and sufficient interest could contribute a fix. (I myself actually spent a little while freshening my rusty Ruby skills to see if I could fix this issue, but I just have not had time to devote to it.)
166 people have contributed to this repo over the years, so I suspect there are multiple people out there who would be able and willing to fix this.

Running into this now. What's the suggested workaround?

For those just running into this issue (like myself), this solution worked for me.

 Are there any alternatives to the twitter ruby gem?

@jasonhemann

Go to https://apps.twitter.com/
Ensure your app (whether newly created or otherwise) has Read, Write and Access direct messages permissions
Locally run gem install twurl
Run twurl authorize --consumer-key {YOUR APP'S CONSUMER KEY} --consumer-secret {YOUR APP'S CONSUMER SECRET}
Follow the steps it requests that you do
Copy ~/.twurlr to ~/.trc

Essentially what @ialexs seems to mean is, copy the file generated by twurl

@jasonhemann

Go to https://apps.twitter.com/
Ensure your app (whether newly created or otherwise) has Read, Write and Access direct messages permissions
Locally run gem install twurl
Run twurl authorize --consumer-key {YOUR APP'S CONSUMER KEY} --consumer-secret {YOUR APP'S CONSUMER SECRET}
Follow the steps it requests that you do
Copy ~/.twurlr to ~/.trc

Essentially what @ialexs seems to mean is, copy the file

I now get this error:
/Library/Ruby/Gems/2.3.0/gems/twurl-0.9.3/lib/twurl/cli.rb:94:in parse_options': invalid option: --8yZ1Sso8SKsPJG7F0BYMT62QG (OptionParser::InvalidOption) 	from /Library/Ruby/Gems/2.3.0/gems/twurl-0.9.3/lib/twurl/cli.rb:17:in run'
from /Library/Ruby/Gems/2.3.0/gems/twurl-0.9.3/bin/twurl:4:in <top (required)>' 	from /usr/local/bin/twurl:22:in load'
from /usr/local/bin/twurl:22:in `'

@cognitive137 I think you should probably reset/delete that API key as it looks like it's been printed out in your error log there. (Editing your github comment will not remove it as there is a history of comments avalible). You should do this asap or someone may be able to use twitter as you 😢

@BlueHatbRit , thank you!

@jasonhemann

Go to https://apps.twitter.com/
Ensure your app (whether newly created or otherwise) has Read, Write and Access direct messages permissions
Locally run gem install twurl
Run twurl authorize --consumer-key {YOUR APP'S CONSUMER KEY} --consumer-secret {YOUR APP'S CONSUMER SECRET}
Follow the steps it requests that you do
Copy ~/.twurlr to ~/.trc

Essentially what @ialexs seems to mean is, copy the file generated by twurl

That's the fix! Many thanks @jasonhemann

@jasonhemann
1.  Ensure your app (whether newly created or otherwise) has Read, Write and Access direct messages permissions

3. Locally run `gem install twurl`

4. Run `twurl authorize --consumer-key {YOUR APP'S CONSUMER KEY} --consumer-secret {YOUR APP'S CONSUMER SECRET}`

5. Follow the steps it requests that you do

6. Copy ~/.twurlr to ~/.trc

Essentially what @ialexs seems to mean is, copy the file generated by twurl

It's works for me too. You missing c on the last command (should be cp ~/.twurlrc ~/.trc). Thank you.

Here's your workaround folks: edit /Library/Ruby/Gems/2.3.0/gems/t-3.1.0/lib/t/cli.rb, or maybe /Library/Ruby/Gems/*/gems/t-*/lib/t/cli.rb if you don't have that file. Replace the two instances of Twitter::REST::Client::BASE_URL with Twitter::REST::Request::BASE_URL and you're good to go.

This worked for me too!
I was almost giving up.

Here's your workaround folks: edit /Library/Ruby/Gems/2.3.0/gems/t-3.1.0/lib/t/cli.rb, or maybe /Library/Ruby/Gems/*/gems/t-*/lib/t/cli.rb if you don't have that file. Replace the two instances of Twitter::REST::Client::BASE_URL with Twitter::REST::Request::BASE_URL and you're good to go.

This worked for me too!
I was almost giving up.

@jasonhemann

Go to https://apps.twitter.com/
Ensure your app (whether newly created or otherwise) has Read, Write and Access direct messages permissions
Locally run gem install twurl
Run twurl authorize --consumer-key {YOUR APP'S CONSUMER KEY} --consumer-secret {YOUR APP'S CONSUMER SECRET}
Follow the steps it requests that you do
Copy ~/.twurlr to ~/.trc

Essentially what @ialexs seems to mean is, copy the file generated by twurl

This is still working! Thanks! 👏

I've changed the cli.rb file and made it further into authorizing but after I auth and enter my pin I get this error:
.../t/cli.rb:98:in `authorize': undefined method `captures' for nil:NilClass (NoMethodError)

      screen_name = oauth_response.body.match(/"screen_name"\\s*:\\s*"(.*?)"/).captures.first

Any ideas for this one? I have also done the .twurlrc routine


Information about transactions

Is the entire operation considered to be a single transaction?

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

ID: add3636d-1287-4879-1c87-13a90cd8321b
Version Independent ID: f9a7290e-9118-af3c-25f6-4b57a8be99e8
Content: Bulk import and update data in Azure Cosmos DB using the bulk executor library
Content Source: articles/cosmos-db/bulk-executor-overview.md
Service: cosmos-db
GitHub Login: @tknandu
Microsoft Alias: ramkris

@daniellittledev Thank you for reaching out.
The workload is divided into small batches at the client side and then committed to Cosmos Db.
The entire operation is not happening in a single transaction.

As Kalyan mentioned above, the data is divided into batches based on the partition key ranges, more about it is here: https://docs.microsoft.com/en-us/azure/cosmos-db/bulk-executor-overview#how-does-the-bulk-executor-operate

@daniellittledev We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

Thanks @SnehaGunda for pointing this out. But what about a single partition key? I would like to update two documents with the same partition key. Will this operation be conducted in a transaction or not? Can I use optimistic concurrency control there?


Size 100% doesn't render the text properly

When you specify a size of 100%, the text inside doesn't render properly. It renders very small and not centered
I believe this is caused by:

The division by 3 when calculating the fontSize. If you specify a percentage it is not relative to the parents height, but to the parent text-size (1em). Making the fontSize relative to the parents height looks like a very tricky problem to solve.
The same happens with the line-height attribute. Maybe another technique for centering should be use, such as flexbox (?)

Looks like someone made a React fork of the FitText plugin which may be useful in this scenario

In my opinion, a much better option would be to use svg's to render the icons. I made a couple of tests and it works flawlessly without the need to define a fixed size, just matching the parent size:
-https://codepen.io/anon/pen/oPBGNa
-https://codepen.io/anon/pen/bxgoWe

Sadly the SVG approach breaks down as well when we consider that not all initial have exactly two characters in them.

This issue has been fixed in the v3.3.0 release. Thanks for the bug report and the help looking for a solution!

After fixing this issue some more issues related to text scaling turned up, I'd love to hear the opinion of react-avatar's users on the issue.
I'm re-opening this issue so users find their way to the PR and the origin of the current text scaling calculation.


User Request: fully non-interactive mode for device init

That would need specifying the OS version and the device config (network, etc).
 Front conversations

User wants to be informed when this is done (see Front conversation)

I start working on this feature now

Implemented, will go in the next resin-cli release


Node-API library and multiple PrismaClient instances

How does Node API engine deal with multiple PrismaClient instances? Another “instance” of the lib with its own connection pool? What does this mean for the user? Change in behavior? Do we still need the "10 instances" warning?
https://github.com/prisma/prisma/blob/2680a44466ae0aed93c9665e7b2d437fbaec45ac/src/packages/engine-core/src/NodeEngine.ts#L267-L278

1 running app can create many PrismaClient instances. Each of those instances get their own Query Engine. Each Query Engine has its own connection pool of connection to the database.

Basically everything is as before: One running app can create many PrismaClient instances. Each of those instances get their own Query Engine. Each Query Engine has its own connection pool of connection to the database.

Can I run multiple studios, like an app to store many database connection URL and for each db to run a prisma studio (in different ports if running multiple at the same time) and view/edit data for that db?


Enable RISC-V PMP & userspace support on RV64 QEMU

This PR enables RISC-V PMP on qemu_riscv64 to improve CI testing of RISC-V userspace.
It fixes 64-bit compatible bugs of RISC-V PMP & userspace in riscv64.
We finally have QEMU support of RISC-V userspace in both RV32 & RV64 after this PR.
Thanks for everyone reviewing my PRs.
Fix #31811

@katsuster @henrikbrixandersen
Could you please help to review this PR? It is primarily a 64-bit compatible bugfix for RV64.


Error: Player command failed: No active device found

When I try to play music I get the error:
Error: Player command failed: No active device found

Probably because I have more than one device connected to Spotify.
Searching on google I've found:  https://github.com/spotify/web-api/issues/1325 which suggest to make the request with
https://api.spotify.com/v1/me/player/play?device_id="+this._device_id
I've been looking on the source code to add this option, but I have no experience with cobra and I also don't know where the request is made to test if this change could work. Could you tell me where I can change it? So I can report if that change works for me (and hope for other users with more than one device)

I'll take a look at this soon, but we might be able to make a spotify devices command that shows devices and their IDs, as well as a spotify play --device_id flag.

In the meantime, you should be able to start a session (open spotify and start playing music) and the CLI should work fine.

but we might be able to make a spotify devices command that shows devices and their IDs, as well as a spotify play --device_id flag.

Yes that's right, but I mean that I can try to hardcode the URL with my device ID to see if that solves the issue, before to start coding the new commands.

you should be able to start a session (open spotify and start playing music) and the CLI should work fine.

Yes that works.

@juanfgarcia I've implemented both commands on the master branch, but I think we might also need to call https://developer.spotify.com/documentation/web-api/reference/#endpoint-transfer-a-users-playback for your use case.

Now devices list serves the displays id's. But play --device-id still giving the same error until you play the song in the Spotify app.
Your suggestion about transferring the users playback sounds good. Let me know if you implement it so I can check.


App loading fails with error sap/ushell/services/_AppState/AppStatePersistencyMethod & sap.ushell.services.ShellNavigation is deprecated

OpenUI5 version: 1.121.0
(built at 19.02.2024 14:38:00)
Browser/version (+device/version): 122 chrome
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible):
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:

Clone code https://github.com/SAP-samples/cloud-extension-ecc-business-process
Build
Deploy to CF

What is the expected result? The app should load
What happens instead? The app isnt loading & getting below deprecation warnings in console,
Deprecated service call. Please migrate any dependencies to this service. -  sap.ushell.services.ShellNavigation
sap/ushell/services/_AppState/AppStatePersistencyMethod is deprecated and will be removed in an upcoming release!
There is no error request fail in network tab
Any other information? (attach screenshot if possible)

Hello @MurkuteNidhi ,
The sap.ushell.services.ShellNavigation is part of sap.ushell library, not of OPENUI5. GitHub is a place for managing issues for OPENUI5 only.
Please, open a ticket in SAP ticket system for managing incidents.
Regards,
Iliana


Functional enhancement request: RADIUS authentication

I find the multi-user support a great feature. I would like to use this function with a Radius server. My LAN and WLAN runs with Unifi hardware and IEEE 802.1x. So I already use a Radius Server in my network. I would like to give my family members the possibility for *.firstname.surname.local.
Thanks a lot

RADIUS support has now been implemented in v1.1.0 - give it a go and let me know if there are any issues.

did you update the documentation for setup or can you give me tips?

Hi,
Login as an administrator, go to Settings > RADIUS, enter the server's IP, the port, and the secret.
I've only tested this with FreeRADIUS so hopefully it will work with your setup as well.

Let me know how it goes and I can tweak if it needed.
Thanks

somehow i get this

Apologies about that, I've now fixed the issue.
Pull the latest and greatest code, rebuild the Docker container, and it should work just fine.

i think we have more problems in the docker...
  Building wheel for Flask-Bcrypt (setup.py): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /opt/snitchdns/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v3cs1cg0/Flask-Bcrypt/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v3cs1cg0/Flask-Bcrypt/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-n1bo3oqc
       cwd: /tmp/pip-install-v3cs1cg0/Flask-Bcrypt/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for Flask-Bcrypt
  Running setup.py clean for Flask-Bcrypt
  Building wheel for Flask-Mail (setup.py): started
  Building wheel for Flask-Mail (setup.py): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /opt/snitchdns/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v3cs1cg0/Flask-Mail/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v3cs1cg0/Flask-Mail/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-3wxgtwnp
       cwd: /tmp/pip-install-v3cs1cg0/Flask-Mail/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for Flask-Mail
  Running setup.py clean for Flask-Mail
  Building wheel for gunicorn (setup.py): started
  Building wheel for gunicorn (setup.py): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /opt/snitchdns/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v3cs1cg0/gunicorn/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v3cs1cg0/gunicorn/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-jc7nc7es
       cwd: /tmp/pip-install-v3cs1cg0/gunicorn/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for gunicorn
  Running setup.py clean for gunicorn
  Building wheel for pywebpush (setup.py): started
  Building wheel for pywebpush (setup.py): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /opt/snitchdns/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v3cs1cg0/pywebpush/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v3cs1cg0/pywebpush/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-q2jke50k
       cwd: /tmp/pip-install-v3cs1cg0/pywebpush/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for pywebpush
  Running setup.py clean for pywebpush
  Building wheel for psycopg2 (setup.py): started
  Building wheel for psycopg2 (setup.py): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /opt/snitchdns/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v3cs1cg0/psycopg2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v3cs1cg0/psycopg2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-kcyhw2xt
       cwd: /tmp/pip-install-v3cs1cg0/psycopg2/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for psycopg2
  Running setup.py clean for psycopg2
  Building wheel for blinker (setup.py): started
  Building wheel for blinker (setup.py): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /opt/snitchdns/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v3cs1cg0/blinker/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v3cs1cg0/blinker/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-buw_m2w5
       cwd: /tmp/pip-install-v3cs1cg0/blinker/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for blinker
  Running setup.py clean for blinker
  Building wheel for http-ece (setup.py): started
  Building wheel for http-ece (setup.py): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /opt/snitchdns/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v3cs1cg0/http-ece/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v3cs1cg0/http-ece/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-sh_67l13
       cwd: /tmp/pip-install-v3cs1cg0/http-ece/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for http-ece
  Running setup.py clean for http-ece
  Building wheel for py-vapid (setup.py): started
  Building wheel for py-vapid (setup.py): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /opt/snitchdns/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v3cs1cg0/py-vapid/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v3cs1cg0/py-vapid/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-vktaosjb
       cwd: /tmp/pip-install-v3cs1cg0/py-vapid/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for py-vapid
  Running setup.py clean for py-vapid
Failed to build Flask-Bcrypt Flask-Mail gunicorn pywebpush psycopg2 blinker http-ece py-vapid
ERROR: requests 2.25.1 has requirement idna<3,>=2.5, but you'll have idna 3.1 which is incompatible.

Unfortunately the radius connection does not work
'ascii' codec can't encode character '\xa7' in position 3: ordinal not in range(128)
Traceback (most recent call last):
File "/opt/snitchdns/venv/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/opt/snitchdns/venv/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/opt/snitchdns/venv/lib/python3.8/site-packages/flask_login/utils.py", line 272, in decorated_view
return func(*args, **kwargs)
File "/opt/snitchdns/app/lib/base/decorators.py", line 14, in wrapped_view
return f(**kwargs)
File "/opt/snitchdns/app/controllers/config/system/radius.py", line 54, in radius_test
if not radius.test_connection():
File "/opt/snitchdns/app/lib/users/auth/radius.py", line 83, in test_connection
client = self.__get_client()
File "/opt/snitchdns/app/lib/users/auth/radius.py", line 99, in __get_client
return Client(server=self.host, authport=self.port, secret=self.secret.encode('ascii'), dict=Dictionary(self.dictionary), retries=1)
UnicodeEncodeError: 'ascii' codec can't encode character '\xa7' in position 3: ordinal not in range(128)

Hello (again!)
Previously I had only tested passwords with 7-bit ascii, but have now pushed a fix to treat everything as utf-8. I've done an end-to-end test and it now seems to be working fine (hopefully we're getting there!).
Please delete any existing images/containers/volumes of SnitchDNS, and give it another go.
Thanks

The function works as I imagined it would. I will soon transfer it from my test network to my productive network.
Thank you

Glad we got that sorted!


Can’t get simple zsh completion to work

Hi 👋
I’m on macOS, trying to write a simple test case.  This just outputs a bunch of files from the current directory, not bar, as it should have.  When I source the completion script from the shell, it works fine.
    #[test]
    fn completest_reduction() {
        let script = r#"
#compdef foo

_foo () {
    compadd bar
    return 0
}
compdef _foo foo
"#;
        let term = completest::Term::new();
        let mut runtime = completest::ZshRuntime::new(PathBuf::from_str("/opt/homebrew/bin/zsh").unwrap(), PathBuf::from_str("./completest-temporary-directory").unwrap()).unwrap();
        runtime.register("foo", &script).unwrap();
        let output = runtime.complete("foo \t", &term).unwrap();
        dbg!(output);
    }

    Running unittests src/main.rs (target/debug/deps/complgen-fd528e5e370143a6)

running 1 test
[src/zsh.rs:404] output = "adaszko@pryk complgen % foo\nCONTRIBUTING.md                  e2e/                             psql.usage\nCargo.lock                       examples/                        psql.zsh\nCargo.toml                       help.usage                       pytest.ini\nLICENSE                          help.zsh                         run-e2e-tests.bash*\nREADME.md                        lsof.bash                        src/\nassets/                          lsof.zsh                         strace.fish\ncapture_postamble.zsh            my.bash                          strace.usage\ncapture_preamble.zsh             my.fish                          strace.zsh\ncargo.fish                       my.usage                         target/\ncompletest-temporary-directory/  my.zsh                           usage/\ndfa.dot                          pgservice.conf                   venv/\ndfa.svg                          proptest-regressions/"
test zsh::tests::completest_reduction ... ok

BTW, I also accidentally overwrote my .zshenv because I set the ZshRuntime::new()’s home parameter to my actual home directory. Had to restore it from backups. That may be something worth documenting as well ;) Or better yet, use a mktemp directory by default.

Mind creating an issue on how we can clarify this?
Since we are writing directly to the directory and there are users today not using a temp directory (clap), we need to make sure this is handled in the right way.

That didn’t work either. What fixed it was the addition of rm $ZDOTDIR/.zcompdump at the beginning of completest-temporary-directory/.zshenv.

shrug no idea.  I guess we could always delete that file when initializing to reduce the chance of bugs
I think I had missed that because I copy I do a lot of filesystem shenanigans

Created #9 :)


Can instrumentation be disabled?

Is it possible to disable instrumentation or is this a fundamental feature of the test framework? Or to send it babel options? Thought maybe it's only required for js errors, but even when running with --skip-js-errors, instrumentation still applies.
Reason for asking, was getting this error trying to load one of my app pages in a test:
system.js:5 Uncaught (in promise) Error: (SystemJS) Unexpected token (
  SyntaxError: Unexpected token (
      at eval (<anonymous>)
      at http://my.ip:58656/hammerhead.js:1:21318
      at <anonymous>

Following these instructions to run hammerhead playground, was able to track down cause of this error. App has code written in ES2015, for example:
let originalThings = [];
let transformedThings = []
mythings.forEach(myThing =>
  transformedThings.push({
    foo: myThing + 'some transformation...'
  })
);

This app only targets modern Chrome and Firefox, so it uses babel-preset-env:
presets: [[ 'env', {
      modules: "systemjs",
      targets: {
        browsers: ["last 10 chrome versions", "last 5 firefox versions"]
      },
      ... other settings
    ]

So the code delivered to browser is not transpiled all the way down to ES5, the arrow functions remain. Then hammerhead instrumentation processes it and generates invalid code something like this:
var originalThings = [];
var transformedThings = []
mythings.forEach( __get$Loc(myThing) => transformedThings.push({
    foo: myThing + 'some transformation blab blah...'
  })
);

A workaround is to have another set of babel options that will transpile to ES5 and use that for the tests, but not ideal because then the tests are running a different version of the code than what's delivered to production.

Hello @danielabar!
Unfortunately, disabling instrumentation is not an option, because it is used to emulate user actions. I think we need some time to implement support of new ES201x syntax features in Hammerhead's script processing.
The simplest workaround is to remove targets property from the preset config. In that case babel-preset-env will enable all available transformations and will transpile code to ES5 supported by TestCafe.

Removing the targets property worked, thanks for your help.


BUG:Scroll Not Working in Quiz Section

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
The scroll functionality in the quiz section of our application is currently not working as expected. When attempting to scroll through the questions or answers, the scroll bar  again comes to top position, making it difficult for users to navigate through the quiz content
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a Hacktoberfest'23 contributor
[X] I want to work on this issue

fixed


Microsoft.Extensions.DependencyInjection.Specification.Tests nuget does not have correct dependencies

Hi
I installed this to get some tests going for my implementation of IServiceProvider using Castle Windsor as advised here.
The trouble is that it does not work in visual studio out of the box because it is missing some dependencies.
Can you please add the following so it works out of the box with resharper:
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
<PackageReference Include="xunit" Version="2.2.0" />
<PackageReference Include="xunit.runner.console" Version="2.2.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />

Thanks

I'm not sure those should be added by default. Your trat project should pull in the things required to make it function (AKA the host). What if you wanted to use the UWP test runner? Shouldn't that be included too?

<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />

Without this you get weird errors anyway. And I would expect most people use the console on both windows and linux via dotnet test. Otherwise this is just a package with broken depedencies that creates bad UX for people who are new to the technology.
In the majority of the cases I would have thought Visual Studio was a thing. So perhaps we could create a new package for Visual Studio?  People might want to test new container implementations there too. Also given this is test project does it really matter? You have already imposed xunit, why not go all the way!


drilling into folders with arrow or / no longer working

If I quicksilver a shortcut that brings up a folder, then hit right arrow or /, I should be able to then search using typing for a file within that folder. I'm finding now that once I begin typing, qs "forgets" that it's in the folder and gives me matches from the entire catalog.
Not sure if this changed when I updated to Sierra, or when I updated to the latest quicksilver, but at any rate it has blown my workflow up! This is QS 1.4.2 (401A)

Believe it or not, what you’re seeing was the default behavior for most of Quicksilver’s history. We changed it sometime recently, but you can still choose what happens when searching after →.
Right arrow into a folder, then select the gear menu at the top of the results list. (It probably says “Filter Catalog” next to it right now.) Go to Search Mode and choose “Filter Results”. You can also change the mode without the menu by hitting ⌘→ or ⌘←. (Hitting one of those accidentally is probably how you ended up with this problem.)

Thanks a million!


if i want to let users do js on my server like cloudflare workers, is it possible to use your repo to do so?

what caveats do i have to look out for?
any suggestions / examples on how to get it done?
do u think v8 binding is better? i have issues with high concurrent connections stress test that crashes v8 stuff. goja crashed too but i put into goja pool and it's "stable" now.

        runtime := hs.runtimePool.Get().(*goja.Runtime)
        defer hs.runtimePool.Put(runtime)

func (hs *httpServer) newRuntime() *goja.Runtime {
        vm := goja.New()
        _, err := vm.RunString(hs.scriptData)
        if err != nil {
                log.Fatalf("Failed to initialize Goja runtime: %s", err)
        }
        return vm
}

thx by the way for this repo.

I'm not really sure what the question is, sorry.


When downloading data, I get a warning that it is not safe to download.

Is it possible to make it safe?

Test case: http://rarefan.evolbio.mpg.de/results
download data set.


Image toolbar button as default

Just curious if there's a reason why the image toolbar button is not included by default. I have it added as a default on a local branch, it sits just to the right of the link button. If you think this is something that SHOULD be added as default I can create a pull request for it.

This should be added +1

+1 yes please!

+1

I need this in my life +1

@brucedlukens I'd love to see your pull request. I'm new to Quill and React so it would help a lot.

I was just wondering how to even add the toolbar. I read here how to do that. You modify src/toolbar.js. Obviously, that's not a final solution, but it shows proof of concept, which is all I needed for now: how to show the button.

+1

+1

@tylercollier you can checkout where I fixed this on my separate branch on the forked repo. It's a simple fix you can do yourself if you check the last commit. I just reference my own git repo so I can utilize the image; that's how I got around this issue until they fix it. Hope it helps.
https://github.com/ShannonStoner/react-quill/tree/default-image-tooltip

@ShannonStoner I should have updated here. While I don't know why the image button is not a default, I was just looking for a way to include it at all. I do not want to have to maintain my own branch. So here's how to do it in your component.

The following is ES2015 syntax, which I believe react-quill plans to convert to.

// Put 'extend' as a dependency in your package.json
import extend from 'extend'

render() {
  const toolbarItems = extend(true, [], ReactQuill.Toolbar.defaultItems)
  // Add the image toolbar item, without affecting ReactQuill's defaults
  toolbarItems[1].items.push({ type:'image', label:'Image' })
  return (
    <div>
      <!--
      <ReactQuill modules={{'image-tooltip': true, 'link-tooltip': true}} toolbar={toolbarItems} />
    </div>
  )

You shouldn't even need the modules={{'image-tooltip': true, 'link-tooltip': true}} part in the next release. It was added as a default as part of commit 5491baf0e4b44d4e579d365393880f81448dab63.

The image button is now part of the default set of toolbar buttons.
I apologize for such an issue being resolved this late.

:+1:

Have someone  ever done about inserting  local images with  image button , eagering to be responsed


fix Graph API request

Remove duplicated options from the body parameters in the API call examples. These options were causing badRequest errors during API calls. This change aims to clarify the documentation and ensure users have a smoother experience with our API.

@vimrang
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Input receive an useless property hasError and the errorMessage property its redundant

Mr @veD-tnayrB ,
I recognize your point about the potential redundancy of the hasError and errorMessage properties. To ensure we're on the right track, I'd like to ask if you've considered all the validation cases where these properties might be necessary. Specifically:

When using the pattern property for validation, hasError can indicate an input mismatch, and errorMessage can provide specific feedback.
For Controlled Inputs, where the error logic is implemented externally, these properties allow the display of custom error states and messages.
And for Automated Inputs with multiple validations, they ensure the correct error message is displayed corresponding to the specific rule that failed.

Could you review these cases and confirm whether all have been validated? If you still believe the properties are unnecessary, I'm open to suggestions on how we might streamline our error management approach.
Thank you for your thorough analysis.


Reintroduce optimization for backfill case where snapshot is empty

Previously @BugenZhao introduced this optimization in https://github.com/risingwavelabs/risingwave/pull/7009.
It was rolled back in https://github.com/risingwavelabs/risingwave/pull/9752 since it was incompatible.
We should re-introduce it again.

Idea is to allow committing state to state table in the first epoch. Then we can also finish progress in the first epoch, so we have can avoid hang up between first and second barrier.

Discussion with @BugenZhao:

@kwannoel: We can support init state table with state? Although I'm not sure what changes that would require.
@BugenZhao:
I guess this might be feasible. For backfill, we

receive the first barrier

grab the "prev epoch" from it

write finished states with this epoch

finish, commit, then yield the barrier

In #7009, we've mentioned that the optimization can't work correctly even if there're only a few rows in the table. This is because we have to maintain the total order of data and barriers, so the downstream stateful executors must also handle data (then write states) before receiving the first barrier, which requires a considerable amount of changes that are not as easy as we described for backfill above.
However, there seems an assertion for no data in the very first epoch after cluster launches. Not sure whether (MV-on-)MV creation can happen at this time and whether there're more assumptions based on this. cc @hzxa21
https://github.com/risingwavelabs/risingwave/blob/318714b2a50befdb42cd7ec9e4c6590dd43d9e6d/src/meta/src/barrier/mod.rs#L896-L901

Discussion thread

Another alternative could be to have 2 initialization barriers, and commit on the second.

https://github.com/risingwavelabs/risingwave/pull/12740
This PR also removes initial snapshot read. It will need to be added back if we want to have this optimization case.