Bug: Exception 'now' is not a recognized built-in function name [SQLSRV].

PHP Version
7.4
CodeIgniter4 Version
4.1.8
CodeIgniter4 Installation Method
Manual (zip or tar.gz)
Which operating systems have you tested for this bug?
Windows
Which server did you use?
cgi-fcgi
Database
SQLSRV 11.0.5058
What happened?
I'm running Codeigniter in the configuration parameters mentioned above and when I set the application settings to store the sessions in the database (public $sessionDriver = 'CodeIgniter\Session\Handlers\DatabaseHandler';) and I created the table "ci_sessions" in the SQL Server database but when I refresh any page I come across with one exception: Informing that the now() function does not exist.
Steps to Reproduce
Just put it in the App.php settings to store the sessions in the SQL Server database, create the session storage table in the database and that's it.
Expected Output
Shouldn't give this exception, I believe this now() function should be replaced by getdate() if $this->platform is "sqlsrv"
Anything else?
Searching a little more for this problem in the file SYSTEMPATH/Session/Handlers/DatabaseHandler.php I verified that within the methods of the database queries there are database queries like this (line 177):
...
if (! $this->db->table($this->table)->set('timestamp', 'now()', false)->insert($insertData)) {
    return $this->fail();
}
...

inside the set() method, the now() function does not work in the case of SQL Server, when I changed this code snippet to:
...
if (! $this->db->table($this->table)->set('timestamp', 'getdate()', false)->insert($insertData)) {
    return $this->fail();
}
...

completely resolved the errors and the code works fine. I believe that to solve this bug, I can insert a code snippet where I can identify through the variable $this->platform which type of database is and separate which method is proper for each corresponding platform.

Sorry, this is not a bug. We don't support SQLSRV as a session database now.

Maybe then it's worth throwing an exception that the DBMS is not supported?

It seems SQL Server has advisory locking mechanisms.
https://dba.stackexchange.com/questions/176424/does-microsoft-sql-server-offer-an-advisory-locks-feature-like-postgres
If someone implements DatabaseHandler...


How to get the parameter proofKeyProviderNew and proofKeyProviderOld in GetProofKeyHeaders

Hi Team, could you please let me know how to get the parameter proofKeyProviderNew and proofKeyProviderOld in GetProofKeyHeaders? As my understanding, WOPI request was signed with the private key corresponding to the public key provided in WOPI discovery. And this private key is passed in wopi validator project as parameter.
//ProofKeyHelper.cs
`public static ProofKeyOutput GetSignedProofData(ProofKeyInput proofData, RSACryptoServiceProvider rsaAlg)
{
      ProofKeyOutput output = GetProofData(proofData);
using (SHA256CryptoServiceProvider hashAlg = new SHA256CryptoServiceProvider())
      {
            byte[] signedProofBytes = rsaAlg.SignData(output.PreSigningBytes, hashAlg);
            output.SignedBase64ProofKey = Convert.ToBase64String(signedProofBytes);
return output;
      }
}`
//WopiRequest.cs
`private Dictionary<string, string> GetProofKeyHeaders(string accessToken,
Uri endpointUri,
RSACryptoServiceProvider proofKeyProviderNew,
RSACryptoServiceProvider proofKeyProviderOld,
long timestamp)
{
Dictionary<string, string> proofKeyHeaders = new Dictionary<string, string>();
ProofKeyInput input = new ProofKeyInput(accessToken, timestamp, endpointUri.AbsoluteUri);
// X-WOPI-Proof
ProofKeyOutput currentProof = ProofKeysHelper.GetSignedProofData(input, proofKeyProviderNew);
proofKeyHeaders.Add(Constants.Headers.ProofKey, currentProof.SignedBase64ProofKey);
// X-WOPI-ProofOld
ProofKeyOutput oldProof = ProofKeysHelper.GetSignedProofData(input, proofKeyProviderOld);
proofKeyHeaders.Add(Constants.Headers.ProofKeyOld, oldProof.SignedBase64ProofKey);
// X-WOPI-TimeStamp
proofKeyHeaders.Add(Constants.Headers.WopiTimestamp, timestamp.ToString(System.Globalization.CultureInfo.InvariantCulture));
// save the proof key output to help partners investigate proof key implementation bugs
this.CurrentProofData = currentProof;
this.OldProofData = oldProof;
return proofKeyHeaders;`

We are in the process of closing WOPI Validator GitHub.  If you still need help with this issue, please reach out to the CSPP partner Yammer channel or contact<EMAIL_ADDRESS>

We are in the process of closing WOPI Validator GitHub. If you still need help with this issue, please reach out to the CSPP partner Yammer channel or contact<EMAIL_ADDRESS>

We are in the process of closing WOPI Validator GitHub. If you still need help with this issue, please reach out to the CSPP partner Yammer channel or contact<EMAIL_ADDRESS>


Add BetSwirl logo for Arbitrum

token address folder name is case sensitive, can renamed hash-checked token address

token address folder name is case sensitive, can renamed hash-checked token address

Done :)


Expose bare minimum to add effects dynamically.

Adds methods to add and remove property effects. Works even on yet uninitialized properties.

Dammit I can't reopen.

Can't reopen on this side either, because the branch was force-pushed or recreated. I think you may need to open a new PR?

I had to fix it and thus force-pushed, anyway it's now called #3460. :cake:


devops 2.0 toolkit book

My name is Shachar and I am struggling with the book because a lot of things are missing
For example what is the password for
scp haproxy.cfg proxy:/data/haproxy/config/haproxy.cfg
vagrant@proxy's password:
Permission denied, please try again.
Thank you very much for your time 😇

another problem  on page174 the test fails
[info] Loading project definition from /source/project
[info] Set current project to books-ms (in build file:/source/)
[info] Compiling 2 Scala sources to /source/target/scala-2.10/classes...
[info] 'compiler-interface' not yet compiled for Scala 2.10.6. Compiling...
[info]   Compilation completed in 25.297 s
[info] Compiling 2 Scala sources to /source/target/scala-2.10/test-classes...
[info] ServiceInteg
[info]
[info] GET http://<IP_ADDRESS>/api/v1/books should
[info] ! return OK
[error]    ConnectException: : Connection refused (Connection refused)  (NetworkClient.java:175)
[error] sun.net.NetworkClient.doConnect(NetworkClient.java:175)
[error] sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
[error] sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
[error] sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
[error] sun.net.www.http.HttpClient.New(HttpClient.java:339)
[error] sun.net.www.http.HttpClient.New(HttpClient.java:357)
[error] sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1062)
[error] sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1041)
[error] sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:916)
[error] scalaj.http.BaseHttp$$anonfun$apply$8.apply(Http.scala:637)
[error] scalaj.http.BaseHttp$$anonfun$apply$8.apply(Http.scala:637)
[error] scalaj.http.HttpRequest.exec(Http.scala:294)
[error] scalaj.http.HttpRequest.execute(Http.scala:270)
[error] scalaj.http.HttpRequest.asString(Http.scala:484)
[error] com.technologyconversations.api.ServiceInteg$$anonfun$1$$anonfun$apply$2.apply(ServiceInteg.scala:15)
[error] com.technologyconversations.api.ServiceInteg$$anonfun$1$$anonfun$apply$2.apply(ServiceInteg.scala:14)
[info]
[info]
[info] Total for specification ServiceInteg
[info] Finished in 21 ms
[info] 1 example, 0 failure, 1 error
[error] Error: Total 1, Failed 0, Errors 1, Passed 0
[error] Error during tests:
[error] 	com.technologyconversations.api.ServiceInteg
[error] (test:testOnly) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 51 s, completed Feb 26, 2019 12:22:41 PM

SSH keys should be set inside VMs created with Vagrant and there should be
no need for the password. I can try it out over the weekend and let you
know whether the problem is reproducible, or you forgot to execute
something.
Please note that book is deprecated and pulled out of sales. The tech from
that book is too old. We do not do things that way anymore. I removed the
book from sales over a year ago. Today, you should focus on Kubernetes,
instead of Swarm. Even if you do want to use Swarm, Docker released a
standalone version that replaces the one used in the book. On top of that,
Terraform is preferable over Ansible, it's easier and better to work
locally with minikube or Docker For Desktop than with machines created with
Vagrant, and so on. What I'm trying to say is that I would recommend that
you do not waste your time with tech that is deprecated. If you're
interested in Kubernetes (you should), you might want to check out The
DevOps  2.3, 2.4, and 2.5 Toolkit (links are in
https://www.devopstoolkitseries.com/). If you do insist on using Swarm, at
least jump to the only version supported by Docker. That one is used in The
DevOps 2.1 Toolkit.
On Tue, Feb 26, 2019 at 5:30 AM shachar<EMAIL_ADDRESS>wrote:

My name is Shachar and I am struggling with the book because a lot of
things are missing
For example what is the password for
scp haproxy.cfg proxy:/data/haproxy/config/haproxy.cfg
vagrant@proxy's password:
Permission denied, please try again.
Thank you very much for your time 😇
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vfarcic/ms-lifecycle/issues/41, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFc5A46YwCEn_tGzrY4mEmKUGr-czsaxks5vRQzOgaJpZM4bR2Zx
.

thank you

what about the nginx and consul
should i use traefik ?

That depends on what you're planning to do with Consul. K8s, for example,
comes with etcd bundled. Similarly, Swarm has its own registry. Mesos comes
with Zookeeper. The only good use case for Consul, in the context of
container schedulers, is with Nomad, but that one is largely abandoned.
On Tue, Feb 26, 2019, 08:17 shachar<EMAIL_ADDRESS>wrote:

what about the nginx and consul
should i use traefik ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/vfarcic/ms-lifecycle/issues/41#issuecomment-467433802,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFc5A3W3SbGw5oSYjv7Yhq1T0jz_O3u7ks5vRTPkgaJpZM4bR2Zx
.

thank you again :)


chore(main): release 1.0.14

:robot: I have created a release beep boop
1.0.14 (2023-08-08)
Build System

update base image and package manager for Hath installation (2c680d7)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/cloverdefa/hath-docker/releases/tag/v1.0.14 :sunflower:


Confusion regarding the repositories

Hi everyone.
I'm in the process of updating my hipSYCL Dockerfiles (based on archlinux) for the first time in a while and I'm a little confused about how the repositories are structured now.
The packages listed here make sense. I only need the OpenMP and CUDA backends so I (successfully) installed the hipSYCL-nightly and hipSYCL-base-nightly packages. What is confusing me are the packages listed here. I tried installing hipSYCL-omp-cuda-nightly instead of hipSYCL-nightly but that didn't work.
Also - given the name of that package - does that mean it is no longer necessary to run the install/scripts/install-cuda.sh script separately?
Thanks a lot.
P.S. I noticed the nightly Arch packages are not being updated as frequently as the Ubuntu/CentOS ones. Is that intentional? I just wanted to mention it in case there is a problem somewhere.

Starting with hipSYCL 0.9.1, we have moved to a plugin system where the various hipSYCL backends are provided by plugin libraries that are detected and loaded at runtime. Previously, the supported backends had to be selected at compile time which is why we ended up with combinations like omp-cuda etc.
This means you can now install both hipSYCL-omp-nightly (which installs the basic hipSYCL stack + OpenMP backend) and hipSYCL-cuda-nightly which adds CUDA support to the hipSYCL installation by adding the CUDA plugin.
hipSYCL-nightly afaik is a meta-package that installs support for everything. hipSYCL-omp-cuda-nightly is a meta-package that is there for backwards compatibility reasons.
(ping @sbalint98 to verify what I say ;) )
You will still need to run install-cuda.sh as our packages only install the hipSYCL CUDA backend, not the actual CUDA toolkit which is also needed.

P.S. I noticed the nightly Arch packages are not being updated as frequently as the Ubuntu/CentOS ones. Is that intentional? I just wanted to mention it in case there is a problem somewhere.

Thanks for the info. @sbalint98 can you check?

Hi @invexed,
Thank you for posting, currently, we have some trouble rolling out new archlinux packages due to the new gcc version on arch that conflicts with building llvm10. see here: https://github.com/spack/spack/pull/24281 . And unfortunately In order to support explicit multipass we need to stick to llvm10.1.0
I am sorry for the confusion with regard to the documentation. I'll have to look into that. the current state is described by your second link eg: https://github.com/illuhad/hipSYCL/blob/develop/install/scripts/README.md#installing-from-repositories .

I tried installing hipSYCL-omp-cuda-nightly instead of hipSYCL-nightly but that didn't work.
Mhmm that shouldn't be the case hipSYCL-nightly should only be a meta-package for hipSYCL-omp-cuda-nightly, can you check the actual name of the installed package?

Also - given the name of that package - does that mean it is no longer necessary to run the install/scripts/install-cuda.sh script separately?
No, unfortunately, we cannot distribute the Cuda toolkit in our packages for legal reasons therefore you will still have to run that script.

By the way, in case you are familiar with singularity containers, and they are a good match for use case, they might be the easiest way to get you started using hipSYCL. you can get them from here: http://repo.urz.uni-heidelberg.de/sycl/singularity/ . (you still need to run the cuda-install script case for a Cuda container though...)

Thank you both for your replies, that clears a lot of it up.
@sbalint98

Thank you for posting, currently, we have some trouble rolling out new archlinux packages due to the new gcc version on arch that conflicts with building llvm11. And unfortunately In order to support explicit multipass we need to stick to llvm11

No worries. Forgive me for pointing out the obvious, but might upgrading to LLVM 12 do the trick? Or is there a blocker elsewhere?

Mhmm that shouldn't be the case hipSYCL-nightly should only be a meta-package for hipSYCL-omp-cuda-nightly, can you check the actual name of the installed package?

I had this in my Dockerfile
RUN pacman -S --noconfirm hipSYCL-base-nightly hipSYCL-omp-cuda-nightly

which gave: error: target not found: hipSYCL-omp-cuda-nightly
From what @illuhad said above, it sounds like installing hipSYCL-omp-nightly and hipSYCL-cuda-nightly (in addition to hipSYCL-base-nightly) is the way to go to enable support for the OpenMP and CUDA backends only?

No worries. Forgive me for pointing out the obvious, but might upgrading to LLVM 12 do the trick? Or is there a blocker elsewhere?

LLVM 12 currently cannot support all of hipSYCL's functionality. Namely, it cannot support the explicit multipass compilation flow. Explicit multipass is explained a bit more in depth here: https://github.com/illuhad/hipSYCL/blob/develop/doc/compilation.md
Basically, it is what allows you to target CUDA and HIP simultaneously if you want to run on devices from different vendors with a single binary. If you are only interested in a single device backend at a time (e.g. CUDA in your case), explicit multipass is not relevant for you.
The background here is that for something like explicit multipass, you need a mechanism that can generate consistent names for lambdas in all compilation passes, so that the host can find and invoke the right compiled kernel in a compiled device image. C++ does not define a mangling for lambdas, so this requires dedicated compiler support.
clang 11 has introduced __builtin_unique_stable_name() exactly for this purpose, which was an upstreamed component of Intel's DPC++. We use this functionality for explicit multipass in hipSYCL.
Unfortunately, __builtin_unique_stable_name() was reverted again in clang 12 because of disagreements between the Intel contributors and the clang maintainers about the correct process for merging and upstreaming. As a consequence, we cannot support explicit multipass with clang 12.
It looks like clang 13 has again support for this functionality to some extent, although it's not "as nice" as the previous __builtin_unique_stable_name(). We will therefore probably directly jump to clang 13 at some point and skip clang 12.
With that said, clang 12 is supported for everything but explicit multipass. If you don't need this functionality, you can just compile hipSYCL against clang 12 and it will work.

From what @illuhad said above, it sounds like installing hipSYCL-omp-nightly and hipSYCL-cuda-nightly (in addition to hipSYCL-base-nightly) is the way to go to enable support for the OpenMP and CUDA backends only?

IMO yes, but @sbalint98 is the expert here :)

Thanks again for another comprehensive reply. It's a shame __builtin_unique_stable_name() had to go but I look forward to targeting multiple backends simultaneously. Excellent work!

I've just noticed that there is also a hipSYCL-core-nightly package. May I ask what that is for?

The core package contains core hipSYCL without any backend plugins. Since hipSYCL is not usable without backends, this package also pulls in hipSYCL-omp-nightly as dependency to add the OpenMP backend.
On the other hand, hipSYCL-omp-nightly also pulls in hipSYCL-core-nightly to provide the core hipSYCL installation. I would consider the core package an implementation detail; just install the packages for the backends you want and the rest should be installed automatically as dependency.


album_groups is expected to be dict but appears as list

So far, has only surfaced when grouping 2 albums. It looks like an edge case.
I think it happens when:
if len(album_ids) == 0 or len(matches) == 0:

Ouput:
Fetching recently saved albums...
Fetched 566 albums...
Grouping 2 albums...
Traceback (most recent call last):
  File "music_lib_bot.py", line 183, in <module>
    make_playlists_from_recently_added_albums()
  File "music_lib_bot.py", line 176, in make_playlists_from_recently_added_albums
    add_albums_to_playlist([
  File "music_lib_bot.py", line 36, in add_albums_to_playlist
    albums_by_genre = group_albums_by_genre(all_albums)
  File "music_lib_bot.py", line 68, in group_albums_by_genre
    for description, group in album_groups.items()
AttributeError: 'list' object has no attribute 'items'

Outdated/fixed


Does not allow to set Memory Play Level above 100

The tool does not allow to set Memory Play Level above 100, while there is no problem with setting Track Level to 200.

Fix. Play Level can now go up to 200


Remove and deprecate unused variables and correct queueDepth default in IBM MQ scaler

The current documentation states that the default queueDepth is 5, while the code default is 20. The documentation will be updated to reflect the correct default value of 20, aligning it with the code.
The queueManager parameter is currently checked to see if it's filled, but it's not used elsewhere in the code. This unused code is removed. The documentation is updated accordingly.
The parameter tlsDisabled is set to DEPRECATED. All other scalers use the parameter unsafeSsl. To maintain consistency across the other scalers, the code related to tlsDisabled is set to deprecated, as unsafeSsl already handles this functionality.
Finally, some minor adjustments to the documentation to keep the formatting the same.

Checklist

[X] Commits are signed with Developer Certificate of Origin (DCO)

Related: 6034

Are all deprecated?

I thought that only the tls one is deprecated

Are all deprecated?
I thought that only the tls one is deprecated

Yes, sorry. My bad. I misunderstood something


Default City Setup

As a user I want some default cities set up, under the category mensa, to easly navigate to a diffrent predefined city.

this already exists for potsdam as the default


[bug] I got my name changed - Auto-logout?

I played some rounds and the game ended. I did nothing for > 30 min, came back and clicked on the "end game" button. I was re-directed to the following screen:

Was the session terminated and this is some kind of default player overview? Anyway, it's quite confusing. I could log out and then log-in with my credentials again, my points were retrieved correctly.

30 minutes is the time that a session in tomcat runs out, so this is another instance of #31


historical nodes do not replicate data

I have rules of the following form:
http://screencast.com/t/XNDJZuxJg0Yv
This implies there should be 2 replicas of each segment in my historicals.
I had 6 historical nodes.
I took down 1 of them.
Now this should not have affected any queries since I am assuming the other nodes would have a replica of the data. However, I see broker basically failing to respond to any query that goes to historicals.
I do see a ton of network activity in the other historicals, so they seem indeed busy loading data.
However, this violates the high availibilty requirement of druid. Bringing down 1 historical shouldnt have impacted querying.
update:
the coordinator loadqueue shows that everything is loaded, however that doesnt seem to be the reality.
Here is a screenshot showing network activity:
http://screencast.com/t/0cSgYPfW
the spike around 6:40 is when the other historical was killed.

it seems like this is related to a different issue. closing for now.

@pdeva Do you still remember what was your issue with this? I have exactly same problem and cannot figure it out.


Circle is blocked when swiping in straight line

Hi, I'm implementing your library in my project.
I've got an issue when I tried to swipe the button, it's blocked when I swipe in a straight line (see gif below)
If I go a little bit to top or bottom before swiping, everything works.

I have a lot of a view in my holding button but this issue appears even with only an Imageview inside.

There was a conflict with an invisible view pager.
Nothing wrong with the library, nice work !


Feature request: FloatArrayType

Could you add a FloatArrayType like there is a DoubleArrayType?

@andreas-eberle Send me a Pull Request with the change request and I'll integrate it if runs properly.

I'm currently trying to get it to run locally. I basically copied the DoubleArrayType and switched everything to use Float. However, I get an error where it says I would need to implement forEachJdbcType. But the DoubleArrayType does not do that either. Do you have an idea what's wrong?

No, I don't know why you get that issue.

Fixed.


ZAP IOS connect not possible

Upgrade to the latest image from the master branch where thia bug is fixed.


Update documentations

Resolve #69

Regarding the addition of your Use Case 5 (addtask), i think the branch that you worked on isnt the newest one so there are 2 usecases named "Use Case 5" now.

Regarding the addition of your Use Case 5 (addtask), i think the branch that you worked on isnt the newest one so there are 2 usecases named "Use Case 5" now.

yep thanks! I realised I did not fork the latest version onto my local repository!

Looks good! shall merge this PR. 👍


SecRuleRemoveByTag

Hi, May I know whether the connector currently accepts SecRuleRemoveByTag?
With the current configuration,
modsecurity on;
modsecurity_rules_file /etc/nginx/modsecurity.conf;
modsecurity_rules '
SecRuleRemoveByTag "OWASP_CRS/WEB_ATTACK/SQL_INJECTION"
';

I get this error
# nginx -t -c /etc/nginx/nginx.conf
nginx: [emerg] "modsecurity_rules" directive Rules error. File: <<reference missing or not informed>>. Line: 2. Column: 55. syntax error, unexpected QUOTATION_MARK  in /etc/nginx/nginx.conf:26
nginx: configuration file /etc/nginx/nginx.conf test failed

Line 26 refers to the SecRuleRemoveByTag line, and column 55 is the last character of the line, which happens to be end quote.

Hi @kiawin,
I'm afraid SecRuleRemoveByTag is not implemented nor expected by the parser. Hence why you're getting that error. You should be able to use SecRuleRemoveById for now.
I'll update the docs accordingly until we have it implemented.

@victorhora thanks for the update. just curious, do you have a page that list all supported directives?

Hi @kiawin,
Yes, we recently added up to date versioning information to the reference manual for most of the directives and also added this "tag": Supported on libModSecurity: YES|NO|TBI|TBD
Note: Please bear in mind that these updates to the docs is a work in progress so don't assume that a directive is not implemented just because it's missing the tag ;)

Hi,
Since SecRuleRemoveByTag is not supported now, is there any other solution to remove rules under certain category?

Hi, @aliesss depending on your scenario and what you're trying to do, you could try with ctl:ruleRemove directives.
As of now ruleRemoveTargetByTag, ruleRemoveTargetById and ruleRemoveById are all implemented in libModSecurity.

Closing this one as the missing directives are known and being handled at https://github.com/SpiderLabs/ModSecurity/issues/1476

Hello...
Running at commit 1edd357 (22-Jun)...
ruleRemoveTargetByTag are not working for me...
#################################################################
SecRule REQUEST_URI "^/admin/guardar_(?:banner|texto).php$"
"id:100, t:none, phase:2, nolog, noauditlog, pass,
--->> NOTHING OF THESE DOES NOTHING... owasp rules keeps matching and blocking <<---
ctl:ruleRemoveTargetByTag=attack-xss;ARGS:codigo,
ctl:ruleRemoveTargetByTag=attack-xss;ARGS:textos[pt],
ctl:ruleRemoveTargetByTag=attack-xss;ARGS:textos.*,
ctl:ruleRemoveTargetByTag=XSS;ARGS,
ctl:ruleRemoveTargetByTag=attack-xss;ARGS,
--->> THESE ARE RUNNING OK... disabling the owasp rules previously matching and blocking <<---
ctl:ruleRemoveById=941100,
ctl:ruleRemoveById=941160
"
#################################################################
If I just remove the ruleRemoveById directives, the ruleRemoveTargetByTag are not doing nothing. Note the id 941100 and 941160 belongs to tags "attack-xss" and "OWASP_CRS/WEB_ATTACK/XSS"...
Thanks so much


Don't re-assign const

Fix small syntax error introduced in deno compat

Codecov Report

Merging #95 (54af93d) into master (4440876) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #95   +/-   ##
=======================================
  Coverage   92.93%   92.93%
=======================================
  Files          15       15
  Lines        5818     5818
=======================================
  Hits         5407     5407
  Misses        411      411

Impacted Files
Coverage Δ

lib/keyUtils.js
95.70% <100.00%> (ø)

Continue to review full report at Codecov.

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

Thanks 👍


Tiller causing Kubelet to leak memory

The node that is running Tiller causes the Kubelet to leak memory. Depending on how frequently Tiller is polled by the Helm client, influences how much memory is leaked.
This has been verified on 3 different clusters running Kubernetes 1.6.8. Talking to other users, we have identified this problem also existing with 1.5.x, 1.7.x and 1.8.x clusters.
On a cluster where Helm commands were being issued 20 times per minute (over 100 releases), in a period of a day we caused the Kubelet to consume over 70GB of memory.
PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
13268 root      20   0 78.295g 4.521g  48336 S  24.6 30.3  12:53.83 kubelet

Further investigation identified an extremely large number of socat processes running on the node (over 1000). Here is a sample of the process list.
root     27500  0.0  0.0  21740  2976 ?        S    07:52   0:00 /usr/bin/socat - TCP4:localhost:44134
root     27501  0.0  0.0  21740  3004 ?        S    07:52   0:00 /usr/bin/socat - TCP4:localhost:44134
root     27502  0.0  0.0  21740  3004 ?        S    07:52   0:00 /usr/bin/socat - TCP4:localhost:44134
root     27503  0.0  0.0  21740  2920 ?        S    07:52   0:00 /usr/bin/socat - TCP4:localhost:44134
root     27504  0.0  0.0  21740  2812 ?        S    07:52   0:00 /usr/bin/socat - TCP4:localhost:44134
root     27505  0.0  0.0  21740  2976 ?        S    07:52   0:00 /usr/bin/socat - TCP4:localhost:44134

I reached out to @justinsb who verified this on a 1.8.x cluster on a fresh installation of Helm.
Justin found the likely cause of the problem being the following block of code (and comment explaining the edge case).
https://github.com/kubernetes/kubernetes/blame/master/pkg/kubelet/dockershim/docker_streaming.go#L191-L192
// If we use Stdin, command.Run() won't return until the goroutine that's copying
// from stream finishes. Unfortunately, if you have a client like telnet connected
// via port forwarding, as long as the user's telnet client is connected to the user's
// local listener that port forwarding sets up, the telnet session never exits. This
// means that even if socat has finished running, command.Run() won't ever return
// (because the client still has the connection and stream open).
//
// The work around is to use StdinPipe(), as Wait() (called by Run()) closes the pipe
// when the command (socat) exits.

This code was added from the following PR:
https://github.com/kubernetes/kubernetes/pull/12283
Which was designed to fix:
https://github.com/kubernetes/kubernetes/issues/8766
Further discussion about this issue:
https://groups.google.com/forum/#!topic/grpc-io/69k_6HKVai0
It seems likely there are 2 issues.

Tiller is keeping its connections open.
Kubelet is not handling bad actors who don't close their connection.

kubectl logs and kubectl exec use this capability but are clearly closing the connection which is why we do not see this problem for every cluster. Only large scale Helm users would likely causing enough queries to make this a noticeable problem.

@mikelorant Thank you for the thorough troubleshooting and digging into this. We'll take a look at it

So I did a little bit of digging and based on the linked discussion list, it looks like our gRPC version (1.2.1) might not have the server-side connection management (see https://github.com/grpc/grpc-go/pull/1119), so Tiller might be holding on to the PortForward connection from helm. Haven't validated it for sure, but that may help

As a note, we are closing the PortForward from the helm side based on what I was seeing in the code

@mikelorant Any way you could give #3129 a try and see if it works? I have no way to test my hypothesis I talked about above because I don't have a cluster readily available (not sure if minikube will do it). Just to note, that PR is just an educated guess as to what may fix it

I'll try and get this implemented in our testing cluster over the next few days. Is it just a case of using the docker image for the master branch of Tiller?

I can build one for you @mikelorant if you haven't built it before and don't want to mess with it

@mikelorant @thomastaylor312 I was able to repro the issue on one of our Kubernetes clusters that is running Helm. Hopefully I should have some time to build and test out @thomastaylor312's fix either this afternoon or tomorrow. Will update the issue once I've had a chance to do that. Thanks!

If someone has an image I an pull, post the link and I'll update our dev cluster to use it today.

I've built a tiller image from @thomastaylor312's fix (PR #3129) and pushed it up to slicknik/tiller:git-a26100a on dockerhub. I haven't had a chance to verify it as yet. @mikelorant feel free to pull that down and verify it on your dev cluster when you get a chance. Thanks so much for your help with this!

@thomastaylor312 - we've been experiencing a lot of instability lately as we've given tiller more load and we're open to test this out to see if it's an improvement.

Should be able to test with helm init --tiller-image slicknik/tiller:git-a26100a. :)

@thomastaylor312 @mikelorant I was able to verify that #3129 fixes the issue. After deploying a tiller built with that fix (slicknik/tiller:git-a26100a) I ran a continuous load that installed and deleted a bunch of charts, and didn't see any lingering socat processes after. (Running this on a tiller without the fix did leave behind about 40-50 socat processes, when I ran it yesterday). Based on this, this fix gets my 👍. Thanks!

@SlickNik Thanks for checking into this and building an image! I'll update the PR and wait for at least one more person to verify (ping @bodepd and @mikelorant)

Before swapping out tiller with slicknik/tiller:git-a26100a
 1693 root      20   0 15.853g 432920  16852 S  17.6  1.4   1646:24 kubelet

I'll report back in about 6-7 hours with the memory use.

Results after 24 hours.
 1694 root      20   0 15.869g 369140  19892 S   9.6  1.2 159:28.68 kubelet

I've just restarted the kubelet and am running fresh checks again. I'll see where I am at after 24 hours again.

After 24 hours...
16044 root      20   0 1224916 138592  50444 S   6.4  0.4  99:38.70 kubelet

16044 root      20   0 4399860 188748  50604 S   4.3  0.6 236:27.45 kubelet

Grown to 4.3GB in 2 days. I don't really have a conclusive answer just yet. Do we think this is reasonable?

Has now jumped up to 8GB of ram. I don't feel the issue is fixed.
16044 root      20   0 8704916 292888  47884 S   6.4  0.9 382:09.35 kubelet

@mikelorant Can you please also verify if you're still seeing the large number of socat processes running as child processes of kubelet even after the fix? Thanks!

Maybe the fix that's in is partially successful - it sounds like it's dealt with the socat processes part of the problem, but there's still some leaks from other, similar things?

@egeland Yes, that was exactly my line of reasoning -- it's possible that the fix addresses only part of the issue causing the memory leak.

Re-opening; this was automatically closed through GitHub interpreting “patially fixes” as “fixes” :P

Hello We are having the same problem on one of our clusters. I now deployed the tiller with slicknik/tiller:git-a26100a and I see that connections are killed in a timely matter. The kubelet still has a big memory buildup. In our case Kubelet uses 2.5GB on a node with 3.9GB. I am happy to test any other fixes, provide any information you need or help in any other way I can.
My knowledge about the internals of Helm is quite limited atm but I am happy to learn more about it.

This is a summary of some of our recent investigation on this, and some conversations at KubeCon:
To the best we can determine, this is caused by the kubelet itself leaking memory on port forwarding requests. It should be reproducible by merely creating and destroying a few thousand port-forwards with kubectl. But it does appear to be beyond our ability to fix in Tiller code, since it's a bug in the kubelet.
If anyone can reproduce with just kubectl, we should open an upstream bug.

Hi, I know this is a kubernetes issue, wanted to ask here as this mostly makes tiller unusable in small instances. Is there a know work around or any news if kubernets has/will fix this, or if it's no longer an issue with 1.9 or newer versions of tiller?

We are also hitting this problem in 1.9. On a 16GB node hypercube is up to ~9.7-10GB

To mitigate this we schedule tiller on small dedicated node using taints and tolerations. That node also restarts kubelet every 10 minutes.
Not very pretty but it has worked so far. Interested if anyone has a more graceful workaround.

@SamClinckspoor do you deliberately restart kubelet or does it just keep restarting it?
We've also isolated Tiller into it's own node, we tried putting it into an aws t2.nano but it died every 5 minutes and took a long time to come back, any special configs (memory requests/limits) you are using?

we use t2.small I believe. No other config except for the toleration to run on the tiller node.
We restart it deliberately:
restart-kubelet.service
[Unit]
Description=restart-kubelet service

[Service]
Type=oneshot

ExecStart=-/bin/systemctl restart kubelet.service

[Install]
WantedBy=multi-user.target

restart-kubelet.timer
[Unit]
Description=restart-kubelet service timer

[Timer]
OnBootSec=2min
OnUnitActiveSec=10min

[Install]
WantedBy=timers.target

Just wanted to confirm this is happening to me on k8s 1.10.3 with tiller 2.9.1
Very frustrating, I only hit the issue after I created a service which runs "helm status" a bunch of times - which causes kubelet to use 4+gb of memory in about 15mins

https://github.com/kubernetes/kubernetes/issues/57992 is the ticket if anyone feels like tackling this issue upstream.

I noticed that if you delete the tiller pod the memory is released.

fixed via https://github.com/kubernetes/kubernetes/pull/67288.


Implement Running number across floating tasks, tasks and event panel

Coverage decreased (-0.002%) to 73.911% when pulling f850f0bb329d1dfe078833952b502fd2876bcd2c on V0.2_RunningIndex into 9e7d5af4370f1dc3cabcd26ef68128194c7a9ae1 on V0.2_MainBranch.


[Bug]: substrateBridgeApp.WrongAmount when user trasnfers with wrong dimension

Preconditions
User has a ROC tokens
Steps to reproduce
Call data:
0x6700010300dc9b4341fde46c9ac80b623d0d43afd9ac205baabdc087cadaa06f92b309c7020301010100bcc5ecf679ebd776866a04c212a4ec5dc45cefab57d7aa858c389844e212693fe040944dff51970f0000000000000000
Actual behavior
User sees error substrateBridgeApp.WrongAmount
https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fws.framenode-2.s1.stg1.sora2.soramitsu.co.jp#/explorer/query/0xb8954820ca19ae0a40fad4fd401692de99f048aa21baf25e9f9b04bdaea4f6db
Expected behavior
??? When user inputs<PHONE_NUMBER>012300000 with larger dimension (ROC has 12) it need to be converted according asset
Environment
{"label"=>"Development"}
Operating System
No response
Additional context
No response

@ra9mls please check for duplication with #117

@N1ghtStorm @ra9mls what is the status of this task ?
Has it been fixed ?
cc. @vovac12


Make use of build variants to streamline the debug experience

We should be able to stub the watch communication layer for debugging purposes. This should make development much more accessible, as we can simulate a connected watch rather than require one

Android Studio has integrated reasonable Wear OS emulator tooling, this can be closed in favor of that


Slider images

Pull Request Checklist

[ ] I have added screenshots to show the working of my code.
[ ] added the optimized feature.

Please check the updates.

This branch has conflicts

@ANSHIKA-26 Could you please review the pull request when you get a chance? Thanks!

@aditiverma-21 what changes have you done exactly ? Kindly explain , also add before and after screenshots of the feature

@aditiverma-21 what changes have you done exactly ? Kindly explain , also add before and after screenshots of the feature

okayy

this was the before image I posted a issue on this named IMAGE BUG
and the after image...

The issue was the images were not correctly working so I added the slider feature

@hiteashgupta1 can you add gssoc label to this pr?

@aditiverma-21 can you add slider image feature on latest fork repo as you have added previously
Kindly refork and resync from the latest repo and add again

Yes sure


Refactor Edusharing module

Regarding functions used only once: if the logic of the function is complex enough and the name of the function is very descriptive, they are welcome.


MXKViewController/MXKTableViewController: Improve activity indicator display.

Do not show it if the stopActivityIndicator is called just after (less than 0.3s)

LGTM


Fixed #31459 -- Fixed handling invalid indentifiers in URL path conversion.

Ticket.
This found one broken URL in Django's own test suite.

This is backwards incompatible, but it seems like quite a minor way to me. URL's with bad path converters syntax (like ticket or the URL in gis_tests here) will raise the error on starting Django. Previously they'd be allowed, but I don't think many users will have deliberately used < / > in URL's. They'll need to convert to re_path to continue using them.
I can't think of a way of deprecating this gently apart from parsing URL's with both the old and new regexes. This seems like quite a high price to pay at application startup for such an edge case.

@adamchainz Thanks :+1:

Thank you for finding a better title for the issue.


Plugin site

Describe your use-case which is not covered by existing documentation.
Hello, I have done a lot of necessary things. Now do I need to do anything for the plugin to be published here https://plugins.jenkins.io/ ?

https://github.com/jenkins-infra/repository-permissions-updater/issues/3123
https://github.com/jenkins-infra/repository-permissions-updater/pull/3139

Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.
No response

Please take a careful look at the CD documentation how to label PRs accordingly: https://www.jenkins.io/doc/developer/publishing/releasing-cd/#releasing

You can also trigger a deployment explicitly, if the current commit has a passing check from Jenkins. Visit https://github.com/jenkinsci/your-plugin/actions?query=workflow%3Acd and click Run workflow. If you prefer to only deploy explicitly, not on every push, just comment out the check_run section in the workflow.

As per the description above I go to the link below;
https://github.com/jenkinsci/codethreat-scanner-plugin/actions?query=workflow%3Acd
But what I'm facing is;

cd
Showing runs from all workflows named cd
0 workflow run results

You didn't merge the PR where you enable CD yet, hence it doesn't show up.

Ok, I approved the PR and started the workflow. Do I need to do anything after this?
https://github.com/jenkinsci/codethreat-scanner-plugin/actions

Do I need to do anything after this?

Yes, as I told you before, read the documentation: https://www.jenkins.io/doc/developer/publishing/releasing-cd/#releasing
There are no PRs with interesting labels that would be picked up.

I added a label called devsecops

I don't understand how to PR for label here. What should I commit with PR?

Labels for your pull request on GitHub, not labels for your plugin. You wouldn't want to create a new release for every merged dependency update, so this is how "interesting" PRs are identified.

i added label (enhancement) for this PR https://github.com/jenkinsci/codethreat-scanner-plugin/pull/2

I am writing again and again, I am aware that I have read the document, I have done the necessary things, is there anything I am missing?

I triggered the workflow from https://github.com/jenkinsci/your-plugin/actions?query=workflow%3Acd here.

https://github.com/jenkinsci/codethreat-scanner-plugin/pull/2 I added the label for this PR.

Please trigger a new run of the workflow.

I did. (https://github.com/jenkinsci/codethreat-scanner-plugin/actions/runs/4192521483) Will it be published on "Plugin Site" now?

Yes, anytime the job responsible for building the plugin pages run.

i don't see the plugin here yet https://plugins.jenkins.io/


new certificate chain analyzer test

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/1880/
Test PASSed.

This should be good to go, I tested this again just now.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/1883/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/1885/
Test PASSed.

If you still want this functionality, please address the requested changes and re-open the Pull Request


Template review feedback

Thanks for submitting a template to the gallery, there were a few issues in your template that needs to be resolved ahead of approving the template for the gallery.

The documentation URL mentioned in the manifest file https://www.pepperjam.com/documentation shows error "We are sorry the page you are looking for can't be found."
encodeUriComponent should be used on user provided values that are then used as parameters in your url. These methods take in a single text arguement and return a URI Encoded string. You should use this method on "aID", "programID", "urlSRC" when generating the url
const url = 'https://container.pepperjam.com/' + aID + '.js'; and
const url = "https://t.pepperjamnetwork.com/track?" + "INT=DYNAMIC&PROGRAM_ID=" + programID + "&" + urlSRC.join("&");

Hi there! We only realized you left us comments last week. We have updated the repository to address your feedback. Please let us know what you think.
Thanks, Heather

@praveena-pappu Any thoughts on our response? Thanks so much for your consideration!

@praveena-pappu Hi! What do you think of our responses to your feedback?

@praveena-pappu Hi! Me again, just wanted to check in. We are eager to move forward. Thanks so much, Heather

Hello as requested earlier, we have reviewed the tag. Please refer to live version https://tagmanager.google.com/gallery/#/owners/pepperjam/templates/gtm-integration


DEVPROD-5137: Combine ESLint & Prettier configs

DEVPROD-5137
Description

Add shared ESLint config in new packages/ directory. This will be the home of our future shared code where we can add directories for things used by Spruce and Parsley.
Extend custom ESLint config for each application

I updated the lint commands to run on all files now, so some previously unlinted files in non-src/ directories have had fixes introduced.
I opted not to move to the flat config yet because it would make sense to upgrade to v9 to leverage all new features, and that's blocked on our various ESLint dependencies being compatible with v9.

Update deploy logging to include any commits made to the packages/ repo when listing commits included in the deploy.

Testing

Verified that the updated git log commits work locally

I was just curious, is there any way for us to track which plugins are ready for V9 and which are not? 😲

I don't think there's anything super straightforward 😢


SUGGESTION: some useful articles about Gulp 4 to add to your list in the Getting Started

A quick guide for switching to gulp 4
The Complete-Ish Guide to Upgrading to Gulp 4
@phated Gulp 4 is super awesome! Don't give up! :-)

+1
NPM 6.x complains about a series of vulns in Gulp 3.x (all in vinyl-fs FWICT), but most modules I want to use (like gulp-browserify) have a dependency on 3.x, which means I'm the sheriff of limbo town

most modules I want to use (like gulp-browserify) have a dependency on 3.x, which means I'm the sheriff of limbo town

No plugin should depend on gulp except for testing. Don't use plugins that have a gulp dependency.
Nothing about the plugin ecosystem has changed between 3 and 4.

I'm closing this, as we already have an issue for a proper migration guide (#861)


Purchase restoration on iOS

As of now, I am not locally storing items that have been purchased. On Android, that isn't a problem because I'm able to call PurchaseSystem.purchaseRestore and build the array of unlocked id's at runtime every time the app is launched.
On iOS, restoring the purchases displays an ugly password prompt and will also get the app rejected if it's not done explicitly by the user. As such, should the app persist purchases locally? If so, I think a note should be added to the readme to reflect this.
Presumably, using libgdx's Preferences class for this shouldn't be much of a problem, right?

Yes, that's correct, you should ONLY call purchaseRestore() when a user requests it! It's fine for Google Play but as you said, it won't work cross-platform for all payment providers. You need to have a designated [Restore] button on iOS.
re-persistance: yes, I would recommend you persist all the purchases in Preferences or a file somewhere in your app's directory (up to you). We should probably add an Inventory.java to gdx-pay eventually that will take care of persistance and provide additional utility methods. Unfortunately I won't get to it anytime soon.
The information in regards to purchaseRestore() is already on the gdx-pay homepage:

(*) IMPORTANT: PurchaseSystem.restore() should not be called directly by your application. Restoring purchases shall only be called when a user explicitly requests it. In your application add a [Restore Purchases] button which in turn will call this method. This is a requirement by Apple iOS. If you don't provide a button for purchase restores your application will be rejected! You have been warned :)

Thanks for your response. I'll go ahead and implement the persistence via Preferences. It should be very easy to do.
The information in regards to purchaseRestore() is already on the gdx-pay homepage:
Yes, you are correct. What I was saying was that the readme doesn't explicitly tell users to persist data on iOS devices. It only implies that you have to persist the data because you can't poll their service when the app is started.
Whether or not that changes is up to you guys. But I like the idea of everything being 100% spelled out to help avoid confusion and questions like this one.
Great job on the library by the way!

I am not much of a writer - sorry for the confusion :)

I think that @mickmuzac is right. It should be some info that on iOS you should persist purchases yourself. I was sure that I do not have to remember user purchases on my hand.


misleading verbiage

The 'Network Requirements' section has two cases of misleading verbiage.
(https://docs.microsoft.com/en-us/azure/sql-database/sql-database-managed-instance-connectivity-architecture?source=docs#network-requirements)
Dedicated subnet: The managed instance's subnet can't contain any other cloud service that's associated with it, and it can't be a gateway subnet. The subnet can't contain any resource but the managed instance, and you can't later add other types of resources in the subnet.
"The managed instance's subnet can't contain any other cloud service that's associated with it" should have the qualifier that other Managed Instances are allowed.
and
"The subnet can't contain any resource but the managed instance" should be optionally pluralized as "[...] but the managed instance(s)".

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

ID: fc2dd547-3ff7-b32a-ba8a-c582a721a0ee
Version Independent ID: f083bdda-0c66-af32-0d27-f535e46c96dc
Content: Connectivity architecture for a managed instance - Azure SQL Database
Content Source: articles/sql-database/sql-database-managed-instance-connectivity-architecture.md
Service: sql-database
Sub-service: managed-instance
GitHub Login: @srdan-bozovic-msft
Microsoft Alias: srbozovi

@davidsandbrand We are checking this and will get back to you.

@srdan-bozovic-msft Please confirm regarding the text changes and we will create PR for the same. the text should be:
"The managed instance's subnet can't contain any other cloud service that's associated with it, but other managed instances are allowed and it can't be a gateway subnet. The subnet can't contain any resource but the managed instance(s), and you can't later add other types of resources in the subnet."

@srdan-bozovic-msft Any update regarding this request. Can we raise the PR for the same?

@srdan-bozovic-msft Please provide an update regarding this request.

modified verbiage
#please-close


Select which QuickAdd action from script or URL

Maybe I’m just not grokking the docs, but when using Advanced URI with QuickAdd, how can I specify which action I want?
My url is:
obsidian://advanced-uri?vault=Obsidian-iOS-Vault&commandname=QuickAdd:%20Run%20QuickAdd
which when called from Shortcuts will start Obsidian, trigger QuickAdd, but then I have to select the QuickAdd action I want, in my case a Capture I have called “QuickNote”.
I have tried a couple of variations, like:
obsidian://advanced-uri?vault=Obsidian-iOS-Vault&commandname=QuickAdd:%20Run%20QuickAdd&QuickNote
But nothing has worked.
Did I miss something?

Did I miss something?

Why, yes. Yes, I did miss something: tapping the lightning bolt for my capture action. That makes it a command, which makes it available in the command palette, and directly accessible using Advanced URI.
In my above example, I just needed to replace “Run%20QuickAdd” with the name of my action, “QuickNote”.
Now I have an iOS Shortcut that starts Obsidian, triggers my QuickNote, and let’s me make my note reasonably quickly.
Thank you for this plugin!


Merge Dev ke UAT 13 Oct 2017

Coverage increased (+0.6%) to 74.394% when pulling 3bdb7e1dee3f542fbe5a632c2d5cf2cf335c427c on dev into f13ac66f8fd0694cbfd5388d3f27b83f88df12b1 on uat.


Add example how to make the main window transparent

At your request, the example.

Seems good for me!
What about you @EPashkin?

Thanks, @egribnau
I check how it work in two hour before vote.

I'll check as well, but just to see the transparent background. :D

Cool red semitransparent window.
Strange, that it size bigger that header, 👍 anyway.


Hello friends, what is the solution to these errors?

npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! network Invalid response body while trying to fetch https://registry.npmjs.org/react-refresh: aborted
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
npm ERR!      C:\Users\Web Developer\AppData\Local\npm-cache_logs\2022-10-01T06_59_22_092Z-debug-0.log
npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... package.json
Deleting cybtog/ from C:\Users\Web Developer\Desktop\neew web
Done.
npm notice
npm notice New minor version of npm available! 8.15.0 -> 8.19.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.19.2
PS C:\Users\Web Developer\Desktop\neew web\cybtog> npx create-react-app .
Creating a new React app in C:\Users\Web Developer\Desktop\neew web\cybtog.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR!      C:\Users\Web Developer\AppData\Local\npm-cache_logs\2022-10-01T07_15_53_357Z-debug-0.log
Aborting installation.
npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... node_modules
Deleting cybtog/ from C:\Users\Web Developer\Desktop\neew web
Done.
PS C:\Users\Web Developer\Desktop\neew web\cybtog> csl
csl : The term 'csl' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if
a path was included, verify that the path is correct and try again.
At line:1 char:1

csl

PS C:\Users\Web Developer\Desktop\neew web\cybtog> npm create-react-app .
Unknown command: "create-react-app"
To see a list of supported npm commands, run:
npm help
PS C:\Users\Web Developer\Desktop\neew web\cybtog> npx create-react-app .
Creating a new React app in C:\Users\Web Developer\Desktop\neew web\cybtog.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code ERR_SOCKET_TIMEOUT
npm ERR! network Socket timeout
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
npm ERR!      C:\Users\Web Developer\AppData\Local\npm-cache_logs\2022-10-01T07_19_07_187Z-debug-0.log

Seems like a network problem.

I have the same problem and am stuck, I have tried reinstalling the node but its still the same error.

I Have some problem too

Just run
git init
You should run it in your project directory
On Mon, Jan 16, 2023, 10:00 Kawsar Ahmed @.***> wrote:

I Have some problem too
[image: Capture]
https://user-images.githubusercontent.com/36604256/212608539-d3a16f5b-85e9-4ba1-84f8-d6b204f908f6.PNG
—
Reply to this email directly, view it on GitHub
https://github.com/facebook/create-react-app/issues/12756#issuecomment-1383528814,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJSOZ7SMCBOZQMEKL675KL3WSTPXVANCNFSM6AAAAAAQ2KRLSQ
.
You are receiving this because you commented.Message ID:
@.***>

npm ERR! code ECONNRESET npm ERR! errno ECONNRESET npm ERR! network Invalid response body while trying to fetch https://registry.npmjs.org/react-refresh: aborted npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR!  C:\Users\Web Developer\AppData\Local\npm-cache_logs\2022-10-01T06_59_22_092Z-debug-0.log npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... package.json Deleting cybtog/ from C:\Users\Web Developer\Desktop\neew web Done. npm notice npm notice New minor version of npm available! 8.15.0 -> 8.19.2 npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.19.2 PS C:\Users\Web Developer\Desktop\neew web\cybtog> npx create-react-app .
Creating a new React app in C:\Users\Web Developer\Desktop\neew web\cybtog.
Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code ERR_SOCKET_TIMEOUT npm ERR! network Socket timeout npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the
npm ERR!  C:\Users\Web Developer\AppData\Local\npm-cache_logs\2022-10-01T07_15_53_357Z-debug-0.log
Aborting installation. npm install --no-audit --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
Deleting generated file... node_modules Deleting cybtog/ from C:\Users\Web Developer\Desktop\neew web Done. PS C:\Users\Web Developer\Desktop\neew web\cybtog> csl csl : The term 'csl' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1
* csl

*

PS C:\Users\Web Developer\Desktop\neew web\cybtog> npm create-react-app . Unknown command: "create-react-app"
To see a list of supported npm commands, run: npm help PS C:\Users\Web Developer\Desktop\neew web\cybtog> npx create-react-app .
Creating a new React app in C:\Users\Web Developer\Desktop\neew web\cybtog.
Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code ERR_SOCKET_TIMEOUT npm ERR! network Socket timeout npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR!  C:\Users\Web Developer\AppData\Local\npm-cache_logs\2022-10-01T07_19_07_187Z-debug-0.log

Use a different network:Different Wi-Fi network or using a mobile hotspot.
Then try again to create the react app, npx create-react-app <project_name>
Hope this should help you.This Works For me.


Language cannot be changed in news.

Describe the Bug
If you try to change the language in a news entry, the message 'No translation available' appears.
Steps to Reproduce

Go to Testumgebung Regression (Deutsch)
Click on 'News'
Find 'Nachricht Regrssionstest'
Click on 'Continue'
Inside the message click on 'change language' ikon
View bottom message: 'No translation available'

Expected Behavior
If a language change is not possible at this point, a corresponding message should be displayed or if a language change is possible, the change should proceed normally.
Actual Behavior
Languge change is not possible and a misleading (wrong) message is shown.
Additional Information
In Web-app the issue occurs accordingly

I think this has to do with the firebase we use for notifications - it is known and I think currently not avoidable? But correct me if I'm wrong.

If so, the massage should sound like 'Changing the language is not possible at this point' since translations are available.

I agree that it is very unfortunate, that you can only change the language in the news overview page and not in the specific news itself - not sure how to fix it though and where to place this message

Basically its a CMS problem not telling us what the translations are. The id of the news is language specific, therefore without a property telling us where to find the translation nothing we can do in the frontends.

Can we just change the message to 'Changing the language if any is not possible at this point' ('Eine eventuelle Änderung der Sprache ist hier nicht möglich') so the user knows that there are probably translations?

Can we just change the message to 'Changing the language if any is not possible at this point' ('Eine eventuelle Änderung der Sprache ist hier nicht möglich') so the user knows that there are probably translations?

Imo thats too complicated and even more confusing. We could not show disabled languages as currently discussed in #https://github.com/digitalfabrik/integreat-app/issues/2550.


\WSL$ appears to timeout and takes about 30-60 seconds before becoming usable again.

Version
Microsoft Windows [Version 10.0.19044.1706]
WSL Version

[ ] WSL 2
[X] WSL 1

Kernel Version
Kernel version: <IP_ADDRESS>
Distro Version
Debian 11
Other Software
No response
Repro Steps
I have two Debian consoles open (one for postgresql and the other for a command line).  I also have Windows Explorer opened to \WSL$.
After a seemingly random bit of inactivity (not sure what else triggers this issue) the WSL$ connection appears to timeout.  It then takes about 30 seconds to 1 minute of waiting (spinning cursor and green progress bar in file path) before Explorer becomes usable again.
Expected Behavior
Not freezing or timing out.
Actual Behavior
Windows Explorer freezes for 30 seconds to 1 minute before becoming usable again.
Diagnostic Logs
I recorded file system activity with ProcMon during a period of waiting and the only thing that sticks out is process init issuing a bunch of unknown (at least to ProcMon) IRPs of type 70.

/logs

It's still an issue but I'm not posting diagnostic logs to a public forum.


Refactor

Type of change

[x] Refactor
[ ] New feature
[ ] Bug fix
[ ] Optimization
[ ] Documentation Update

Description
Refactored and added typing, also abstracted away the algorithms.

Related Tickets & Documents

Related Issue #45
Closes #

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please describe the System Under Test.
Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

Merging it as it need for the upcoming cmd templating change: https://github.com/cloud-bulldozer/orion/pull/56 which will be useful for CI testing.


[rtextures] Texture mode flips the Y axis by default

Please, before submitting a new issue verify and check:

[x] I tested it on latest raylib version from master branch
[x] I checked there is no similar issue already reported
[x] I checked the documentation on the wiki
[?] My code has no errors or misuse of raylib

Issue description
Whenever I render my scene in texture mode and attempt to plot it using DrawTexture() the Y axis is flipped.
I was able to walk around the issue by using DrawTexturePro() with a negative height as described in #378 , but this seems to be a bug nonetheless and should be reported.
Thanks for the great work! I love raylib! <3
Environment
I'm running a Ubuntu Linux 22.04.3 LTS 64-bit
Lib GLFW 3.3.6-1
Windowing system Wayland
Grpahics card Mesa Intel Xe Graphics (TGL GT2)
Issue Screenshot
Screencast from 19.02.2024 11:35:28.webm
Code Example
The code below switches to Texture mode upon pressing the TAB key
#include <raylib.h>

#define SWIDTH  800
#define SHEIGHT 600

void DrawStuff(void)
{
  ClearBackground(BLACK);
  DrawFPS(0, 0);

  DrawLine(100, 100, 200, 200, RED);
}

RenderTexture2D buff;
int main(void)
{
  InitWindow(SWIDTH, SHEIGHT, "BUG - Y Axis is flipped on texture mode");
  SetTargetFPS(120);

  buff = LoadRenderTexture(SWIDTH, SHEIGHT);
  while (!IsRenderTextureReady(buff));

  int enable_texture_mode = 0;
  while (!WindowShouldClose()) {
    if (IsKeyPressed(KEY_TAB)) {
      enable_texture_mode = !enable_texture_mode;
    }

    BeginDrawing();
      if (enable_texture_mode) {
        BeginTextureMode(buff);
          DrawStuff();
        EndTextureMode();

        DrawTexture(buff.texture, 0, 0, WHITE);
      } else {
        DrawStuff();
      }
    EndDrawing();
  }

  CloseWindow();
}

@nawarian I'm afraid this is as-design. Changing that behaviour could be extremely difficult and annoying.

My workaround was to create another render, I named inverted, and drawing all of buff into inverted, then, drawing the inverted in the main loop.
#include <raylib.h>

#define SWIDTH 800
#define SHEIGHT 600

void DrawStuff(void)
{
    ClearBackground(BLACK);
    DrawFPS(0, 0);

    DrawLine(100, 100, 200, 200, RED);
}

RenderTexture2D buff;
RenderTexture2D inverted;
int main(void)
{
    InitWindow(SWIDTH, SHEIGHT, "BUG - Y Axis is flipped on texture mode");
    SetTargetFPS(120);

    buff = LoadRenderTexture(SWIDTH, SHEIGHT);
    while (!IsRenderTextureReady(buff))
        ;

    inverted = LoadRenderTexture(SWIDTH, SHEIGHT);
    while (!IsRenderTextureReady(inverted))
        ;

    int enable_texture_mode = 0;
    while (!WindowShouldClose())
    {
        if (IsKeyPressed(KEY_TAB))
        {
            enable_texture_mode = !enable_texture_mode;
        }

        BeginDrawing();
        if (enable_texture_mode)
        {
            BeginTextureMode(buff);
            DrawStuff();
            EndTextureMode();

            // draw all of buff into inverted will invert in the DrawTexture()
            BeginTextureMode(inverted);
            DrawTextureRec(buff.texture, {0, 0, SWIDTH, SHEIGHT}, {0, 0}, WHITE);
            EndTextureMode();

            // draw the inverted render
            DrawTexture(inverted.texture, 0, 0, WHITE);
        }
        else
        {
            DrawStuff();
        }
        DrawText(TextFormat("%b", enable_texture_mode), 100, 0, 20, GREEN);
        EndDrawing();
    }

    CloseWindow();
}

It's more efficient to just flip the rendered texture with  DrawTextureRec or DrawTexturePro by passing the source with a negative height or width (in this case height).
Example: DrawTextureRec(source_texture, (Rectangle){.x = 0, .y = 0, .width = screenWidth, .height = -screenHeight}, (Vector2){.x = 0, .y=0}, WHITE)


mapResponse is completely ignored

What version of Elysia.JS is running?
1.0.24
What platform is your computer?
Linux 6.9.2-arch1-1 x86_64 unknown
What steps can reproduce the bug?

Use mapResponse.

The function is never called.
new Elysia().mapResponse(({response}) => {
	console.log('test');
})

The above never logs.
What is the expected behavior?
mapResponse is called.
What do you see instead?
mapResponse is completely ignored, attempting to log anything in there doesn't work, as nothing happens.
Additional information
This was working previously, but at some Elysia version, it stopped working.

Hi, thanks for the report.
Unfortunately I'm unable to reproduce the issue on my end, can you give me a more precise minimal reproducible example that may cause this problem?
We have several test case for mapResponse here which runs before publishing the package, and if the test fail it won't be published.
Thank you.

When I first experimented with ElysiaJS, I mistakenly concluded that middlewares (.use) did not have an order. I attempted to reorder the middlewares and it worked.
Apologies for the oversight.


feat: moving a testing class from java-storage-nio to java-storage

Moving FakeStorageRpcTest class implementing the StorageRpc interface from java-storage-nio to java-storage. That will allow extending StorageRpc without breaking cross-project dependencies.
It was suggested to introduce a new artifact google-cloud-storage-testing, but I hope it's not necessary, because we already have a testing class included in the main java-storage artifact: com.google.cloud.storage.testingRemoteStorageHelper. Newly introduced class FakeStorageRpc borrowed from the Storage-Nio is placed next to it.
Fixes #242

@elharo, thanks for looking. Now I see that this implementation is very nio specific, unlikely it will be used by anyone else. So, it's not a good idea to expose such a class.
Probably, the right way is to export a class implementing all StorageRpc methods to throw UnsupportedException and make FakeStorageRpc in Storage-Nio to extends it.
So, I'm closing this PR


gitlab: Move webhook handler functions to dedicated files

Summary
The intention is to make handlers easier to find.
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[ ] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[x] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 53.232% (-0.003%) from 53.235%
when pulling 01c03dc88e7c430aa9723684e30c59b25fddc3ed on gitlab-webhook-move
into d537597a9bbe3130f8017a76d547a0550a0809fb on main.


Added .gitignore, eslinted

ISSUE:
You didn't have spaces between brackets. Code was literally unreadable
Solution:
I've added the required ESLint files so we don't have these issues again.

You wanna resolve them conflicts mate?

Nah holup, apparently my branch was way out of date compared to master. brb


Overriding --css-variables in Anki

Here's how custom properties in the cascade are scoped globally and locally.

So long as the specificity is correct (i.e: you're updating CSS variables on the correct global or local class, such as :root or .selector) simply change the CSS Variables at the end of the main.css document! I don't think that you can change --css-variables to override styles that have used that variable (i.e: var(--css-variable)) — although you may be able to if there's greater specificity. The code below won't work as you might hope:
It's fairly easy to add a class to the main HTML <tag> element to switch between themes. I've tried this kind of setup Anki and it works:
:root {
   /* The highlighting colours */
  --color-code-light-background: #ffffcc;
  --color-code-light-base: #586e75;
  --color-code-light-comment: #93a1a1;
  --color-code-light-error: #93a1a1;
  --color-code-light-highlight: #dc322f;
  --color-code-light-keyword: #859900;
  --color-code-light-lowlight: #268bd2;
  --color-code-light-number: #2aa198;
  --color-code-light-operator: #859900;
  --color-code-light-string: #2aa198;
  --color-code-light-variable: #268bd2;
}

/* They're used here, for example */
code,
kbd,
pre,
samp {
  ...
  background: var(--color-code-light-background);
}

You can override the styles at the bottom of the main.css document like this:
:root {
  --color-code-light-background: blue;  /* Make me blue! */
}

You can even use a variable before it's declared:
p {
  color: var(--new-css-variable);
}

#inner {
  --new-css-variable: green;
}

Other examples:
Before (default --css-variables)

After (changing --css-variables)

Originally posted by @badlydrawnrob in https://github.com/badlydrawnrob/anki/issues/42#issuecomment-1834381594

Closing this and adding link in other issue.


Why would you use this as apposed to the Azure App Service Deploy task

This task superficially looks to me like a sub set of the Azure App Service Deploy task. Is that because this is the "old" way of doing it? Should we be using the Azure App Service Deploy task instead?

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

ID: d955bb83-fa46-22e0-de73-7700ae214af8
Version Independent ID: 1f55672f-711e-24fa-e6bc-edc0ca723eba
Content: Azure Web App task - Azure Pipelines
Content Source: docs/pipelines/tasks/deploy/azure-rm-web-app.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @azooinmyluggage
Microsoft Alias: atulmal

@martingbrown -- Martin, thank you for your questions.  You may find answers here:

Azure DevOps Support Bot
Azure DevOps on Stack Overflow

@azooinmyluggage -- Atul, please look into this issue.

This is still an issue.


Riot rang only after the caller ended the call after about 30 s.

reported by @yuki_f:matrix.org
https://github.com/matrix-org/riot-android-rageshakes/issues/1101

on this android 4.3 device,
there is a "sleep" in the application behaviour
-> get the sync reponse
-> manages it
----> there is a 40s delay in which nothing happens ( i assume it is used to save battery)
-> start a 10 seconds timer
-> get the sync response
-> detect an incoming call : it is ignored because it was triggered > 30s ago
The 30s call lifetime has been increased to 60s to have the same behaviour than other clients.

https://github.com/matrix-org/matrix-android-sdk/commit/52a2407731cc9d825da755035691dedf998734e3

https://github.com/vector-im/riot-android/issues/1620


v1.20.2 broke my pulumi project

Describe what happened
When running pulumi preview after upgrading from v1.20.1 to v1.20.2 I'm getting the following error:

Am I doing something wrong or could this actually be a bug?
Sample program
import { SshKey } from "@pulumi/hcloud"

new SshKey("macbook-air", {
	name: "MacBook Air",
	publicKey: "ssh-ed25519 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
})

Log output
Previewing update (prod):
     Type                    Name         Plan     Info
     pulumi:pulumi:Stack     infra-prod            24 messages
     └─ hcloud:index:SshKey  macbook-air           1 error

Diagnostics:
  pulumi:pulumi:Stack (infra-prod):
    panic: fatal: An assertion has failed: The bridge does not accept secrets, so we should not encounter them here
    goroutine 93 [running]:
    github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.133.0/go/common/util/contract/failfast.go:23
    github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assertf(0x80?, {0x4dee0d4?, 0xc00061e4c0?}, {0x0?, 0xc000180008?, 0xc00158c058?})
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.133.0/go/common/util/contract/assert.go:35 +0xe8
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*ConfigEncoding).UnfoldProperties(0xc00158c058, 0xc0005e31a0)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.91.0/pkg/tfbridge/config_encoding.go:143 +0x2b2
    github.com/pulumi/pulumi-terraform-bridge/pf/internal/configencoding.(*provider[...]).ConfigureWithContext(0xc000b8cb80, {0x5b1f488?, 0xc0005e2fc0}, 0xc0005e31a0)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/pf@v0.44.0/internal/configencoding/provider.go:110 +0x45
    github.com/pulumi/pulumi-terraform-bridge/pf/internal/plugin.(*provider).Configure(0x5ab61e0?, {0x5b1f488?, 0xc0005e2fc0?}, {0x0?})
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/pf@v0.44.0/internal/plugin/provider_context.go:143 +0x25
    github.com/pulumi/pulumi-terraform-bridge/pf/internal/plugin.providerThunk.Configure({{0x5b3e630?, 0xc00160ee30?}}, {0x5b1f488, 0xc0005e2fc0}, {0xffffffffffffffff?})
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/pf@v0.44.0/internal/plugin/provider_server.go:83 +0x76
    github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin.(*providerServer).Configure(0xc001684c30, {0x5b1f488, 0xc0005e2fc0}, 0xc000e0f580)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.133.0/go/common/resource/plugin/provider_server.go:346 +0x331
    github.com/pulumi/pulumi-terraform-bridge/pf/internal/plugin.(*providerServer).Configure(0x5aff4e0?, {0x5b1f488?, 0xc0005e2fc0?}, 0x0?)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/pf@v0.44.0/internal/plugin/provider_server.go:57 +0x25
    github.com/pulumi/pulumi-terraform-bridge/x/muxer.(*muxer).Configure.func1()
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/x/muxer@v0.0.8/muxer.go:298 +0x6f
    github.com/pulumi/pulumi-terraform-bridge/x/muxer.asyncJoin[...].func1()
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/x/muxer@v0.0.8/muxer.go:595 +0x42
    created by github.com/pulumi/pulumi-terraform-bridge/x/muxer.asyncJoin[...] in goroutine 91
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/x/muxer@v0.0.8/muxer.go:594 +0x79

  hcloud:index:SshKey (macbook-air):
    error: error reading from server: EOF

Affected Resource(s)
No response
Output of pulumi about
CLI
Version      3.133.0
Go Version   go1.23.1
Go Compiler  gc

Plugins
KIND      NAME        VERSION
resource  aws         6.52.0
resource  awsx        2.15.0
resource  cloudflare  5.39.0
resource  docker      4.5.1
resource  docker      3.6.1
resource  hcloud      1.20.2
language  nodejs      unknown

Host
OS       darwin
Version  15.0
Arch     x86_64

Dependencies:
NAME                VERSION
@pulumi/aws         6.52.0
@pulumi/awsx        2.15.0
@pulumi/cloudflare  5.39.0
@pulumi/hcloud      1.20.2
@pulumi/pulumi      3.133.0
@types/node         22.5.5

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

hi @tsndr - thank you for reporting this issue.
This is in fact a bug in the pulumi-terraform bridge we are actively working on.
See also: https://github.com/pulumi/pulumi-gcp/issues/2405.
We hope to have a fix soon.

Update: We've addressed the issue in the pulumi-terraform-bridge, and will be having a patch release here for you soon.
We apologize for the trouble and hope you'll give the new version a try as soon as it's out! 💟

Thank you so much for quickly taking action <3

The issue seems to be fixed on bridge-side. Now we need a release, I think. ;)

Hi @eBeyond - please try v1.20.4 of this provider; it should resolve your issue.
Thank you for your patience, and apologies for the trouble here. 🙇♀


[ADN] For some videos : "No Videos Format Found"

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.07.15. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[X] I've verified and I assure that I'm running youtube-dl 2017.07.15

Before submitting an issue make sure you have:

[X] At least skimmed through README and most notably FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[X] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
D:\Téléchargements\Youtube-DL>youtube-dl -v http://animedigitalnetwork.fr/video/
detective-conan/6014-episode-761-kaga-hyakumangoku-mystery-tour-1re-partie-kanaz
awa
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://animedigitalnetwork.fr/video/detective
-conan/6014-episode-761-kaga-hyakumangoku-mystery-tour-1re-partie-kanazawa']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2017.07.15
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {}
[ADN] 6014: Downloading webpage
[ADN] 6014: Downloading JSON metadata
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug
 . Make sure you are using the latest version; type  youtube-dl -U  to update. B
e sure to call youtube-dl with the --verbose flag and include its complete outpu
t.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp9jcmgxq0\bu
ild\youtube_dl\YoutubeDL.py", line 776, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp9jcmgxq0\bu
ild\youtube_dl\extractor\common.py", line 433, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp9jcmgxq0\bu
ild\youtube_dl\extractor\adn.py", line 136, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp9jcmgxq0\bu
ild\youtube_dl\extractor\common.py", line 1056, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issu
e on https://yt-dl.org/bug . Make sure you are using the latest version; type  y
outube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and
include its complete output.

Description of your issue, suggested solution and other information
So, as I say in the title of this issue, some videos have an error when we try to get them.
Some other series than the one in he screenshot have the same problem.
Is it possible to solve this "bug" ?
Thank you!

This video requires paid subscription that you did not provide to youtube-dl. Do that via --cookies.

Even with the cookies, i have still the same error. And I have a paid subscription account...


URLs of activity headers in weekly/master mailing link to main page instead of activity page

The URLs in week/master mails are broken, see for reference the last master of week mail.

Fixed in https://github.com/Inter-Actief/amelie-private/commit/8f7692fd3a8490896078674e7a7e4e85ed7c966f


composer: use classmap autoloader

fixes duplicated Php8StubsMap definition when analysing by PHPStan
project which depends on phpstan/php-8-stubs

Thank you!


intel gpu support via target_device parameter

We should add some testing in our CI for the support target_device. Something like this: https://github.com/triton-inference-server/server/blob/main/qa/L0_libtorch_inference_mode/test.sh
We can call it L0_openvino_target_device?

Functional tests are under preparation in another PR. They should be easy to integrate in CI.


Image Service API Search Result

📝 Issue Description
When searching for "Image Service API" the Image Service API page did not show up at all. I was unable to find this page via the search function at all.
📋 On which page(s) it occurs
sitewide
🤔 Expected Behavior
I expected the page title "Image Service API" to rank highly when searching for "Image Service API"
👀 Current Behavior
But instead, the expected page does not show up at all in search results
🖥 Browser
Safari 17.2
📄 Additional Information
No response

This is weird! I know some pages have selective ranking so maybe there's something weird and this page is not actually being indexed by Algolia.
Thank you so much for reporting this! cc @delucis

Hi @Jothsa - we reindexed Algolia (basically rebuilt the search results) and in our testing on our end, we are now seeing the search result show up. It might have just been a fluke in the last run when Algolia indexed our site.
So, I'm going to close this issue because we are now seeing the proper hit come up (first result!) but if you discover anything in future, please do come back and reopen, or file another issue. Thank you again for reporting!  🚀

Thanks!


The question of Refseq id

Hi, I have a question with RefSeq id, for example, the Phanta result provide a id "Faecalibacterium virus Mushu", but the file which you provided last time (Refseq_viruses_added.txt), the species id is "Faecalibacterium phage FP_Mushu", I want to find them the NCBI accession (NC_047913.1), and I met so many times such as this situations. Because the most time I have to search it one by one, instead of use a script to do it directly. So I want to know if there has a table for such a relate infornation?
For example:
Phanta result --> Refseq_viruses_added.txt result
Faecalibacterium virus Mushu --> Faecalibacterium phage FP_Mushu
Klebsiella virus ST147VIM1phi7-1 --> Klebsiella phage ST147-VIM1phi7.1

Hi!
Phanta reports the species level as it appears in ncbi taxonomy.
For example this  is the species level name.
Also see the subtree with Faecalibacterium phage FP_Mushu is "no rank" Mushuvirus mushu.
Anyhow, since names can change in the taxonomy anyway I recommend using the taxonomic ID to have that information.

Thank you for your responed


Fails to build on Mac due to certificate signing

I'm new to Mac programming but I did Google and check StackOverflow for what to do before asking here. So sorry if it would be obvious how to proceed. I am building other Mac projects from github OK though and never saw this before:
Build target Retro Virtual Machine of project Retro Virtual Machine with configuration Debug
error: There are no accounts registered with Xcode. Add your developer account to Xcode (in target 'Retro Virtual Machine' from project 'Retro Virtual Machine')
error: No signing certificate "Mac Development" found: No "Mac Development" signing certificate matching team ID "TNP49M7S5T" with a private key was found. (in target 'Retro Virtual Machine' from project 'Retro Virtual Machine')
/Users/hippietrail/retrovm1/Retro Virtual Machine.xcodeproj: warning: OpenGL is deprecated. Consider migrating to Metal instead. (in target 'Retro Virtual Machine' from project 'Retro Virtual Machine')

Repair target Retro Virtual Machine
Diagnose problem
No "Mac Development" signing certificate matching team ID "TNP49M7S5T" with a private key was found.

By the way, when can we expect version 3?

I forgot to remove my signing ID.
I fixed it, re-clone the repository and try again, confirm me that it works.
Thank you

I forgot to remove my signing ID.
I fixed it, re-clone the repository and try again, confirm me that it works.
Thank you

Confirmed working. Thank you!


Add aliases

Idea: define aliases in Webpack for reusable code rather than navigating via ../../../<oh_hell>
See http://webpack.github.io/docs/configuration.html#resolve-alias

Won't do, cleaner to use barrels


Non-admin accounts Password reset notifications where SSPR is not configured and the effects of PIM implementation.

Hi Microsoft,
There is no detail on who is notified when a non-admin user requests a password reset. The best information I have found is an answer from 2015, but I cannot verify this. It would have more credibility and visibility if it were included in the documentation section on a page that is kept up to date.
Documentation should include how the recipients change, if at all, when there is a mixture of eligible and assigned accounts within the role.
It is possible that this is not the best place for this documentation, but I felt it best to start somewhere.
potentiall this document could also benefit from having some of this information included, https://learn.microsoft.com/en-us/entra/identity/authentication/concept-sspr-howitworks
Kind regards,
Gavin

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

ID: fa4f7db9-4faf-03f9-516c-7bb1f6dbac92
Version Independent ID: 0a2f9a24-76e7-b889-3a75-3e2bbb5aba96
Content: Reset passwords - Microsoft 365 admin
Content Source: microsoft-365/admin/add-users/reset-passwords.md
Service: microsoft-365-business
GitHub Login: @kwekuako
Microsoft Alias: kwekua

@kwekuako Please help us in resolving this issue. Thanks


Allowing more control in offboard mode

This PR enable offboard control with the following data (x,y,vz) and (vx,vy,z) following the issue https://github.com/PX4/Firmware/issues/8117

This looks good to me, but I'm not a heavy offboard user.
Would you be able to add some simple testing to run through everything in offboard?
Testing options

this needs a cleanup, but there's existing ROS based testing here. https://github.com/PX4/Firmware/tree/master/integrationtests
also looking at using Dronecore (https://github.com/dronecore/dronecore).

I totally agree. The offboard mode is not tested for every case. The offboard mode also requires some rework; I personally do not like the messages needed.
I would do 3 type of setpoints as the 3 are used in different conditions and it is very unlikely that you switch from one to another.

Acceleration SP: I never used it, yet could be used
Position/Velocity SP: Velocities for Takeoff, land, obstacle avoidance and position to hold the position
Attitude SP: Some ROS controllers features a (complex) trajectory following and outputs attitude setpoints.

Another idea would be to send position triplets to be able to use the same control_auto() function which takes in account what will happen at the setpoint. (to avoid overshoot and do better angles).

Have you seen this? https://github.com/mavlink/mavlink/pull/670


Allow marking an argument as constant in the simple function API

Description
For details please see #3995.
cc @mbasmanova , @rui-mo , @laithsakka , @kagamiori .
Thanks.

Here is my proposal for the change, please let me know if this looks ok to you, thanks.

define static const function to tell which argument is constant.
static constexpr bool is_constant_arg(int32_t position)
In buildSignature check if argument is constant. If yes, we call constantArgumentType for it.

    int32_t position = 0;
    for (const auto& arg : analysis.argsTypes) {
      if (udf_is_constant_arg<Fun>()(position)) {
        builder.constantArgumentType(arg);
      } else {
        builder.argumentType(arg);
      }
      position++;
    }

I wonder if it would be possible to specify constness at the same time as type, e.g.
registerFunction<InFunction, bool, int32_t, Constant<Array<int32_t>>("in")

CC: @laithsakka

I wonder if it would be possible to specify constness at the same time as type, e.g.
registerFunction<InFunction, bool, int32_t, Constant<Array<int32_t>>("in")

CC: @laithsakka

Does this mean we need to define a type "Constant"?

Constant sounds like a simpler (from UDF auothoring point of view)
One way to support that is the following, on key point is that we want to avoid handling Constant all over the place
so we probably want to peal it off the types asap.
Introduce the following classes:
// The constant type
template<typename T>
struct Constant {
};

// Remove constant layer.
template <typename T>
struct UnwrapConstant {
  using type = T;
};

template <typename T>
struct UnwrapConstant<Constant<T>> {
  using type = T;
};

// Check if t is constant.
template <typename T>
struct isConstant {
  static constexpr bool  value = false;
};

template <typename T>
struct isConstant<Constant<T>> {
  static constexpr bool value = true;
};

// Can be used to check if an arg at index x is constant.
template <typename ...TArgs>
struct ConstantChecker{
  static constexpr bool isConstant[sizeof...(TArgs)] = {   isConstant<TArgs>::value...};
};

int main()
{
    std::cout<<ConstantChecker<Constant<int>, int>::isConstant[0];
    std::cout<<ConstantChecker<Constant<int>, int>::isConstant[1];

    return 0;
}

https://onlinegdb.com/90ACLcCEr
Next We need to the do the following changes:

Add ConstantChecker as another template argument to UDFHolder.

template <typename Fun, typename Exec, typename TReturn, typename ConstantChecker, typename... TArgs>
class UDFHolder final

Add ConstantChecker as another template argument to SimpleFunctionMetadata.

template <typename Fun, typename TReturn, typename ConstantChecker, typename... Args>
class SimpleFunctionMetadata :

Inside register function pass ConstantChecker and Unwrapped args.
OLD:

  using funcClass = Func<exec::VectorExec>;
  using holderClass =
      core::UDFHolder<funcClass, exec::VectorExec, TReturn, TArgs...>;
  exec::registerSimpleFunction<holderClass>(aliases);

NEW:
using funcClass = Func<exec::VectorExec>;
using holderClass =
    core::UDFHolder<funcClass, exec::VectorExec, TReturn, ConstantChecker<Args>,  UnwrapConstant<TArgs>::type...>;
exec::registerSimpleFunction<holderClass>(aliases);

Finally use ConstantChecker to check if we need to add the constant property as you proposed in TypeAnalysis in SimpleFunctionMetadata.

This is not the only way to solve this problem, but i feel this could be the one of the easiest to implement since TArgs wont be changed and no other instantiations are effected.


Reformat BED file for VaPoR input

Updates
Based on Xuefang's branch (https://github.com/broadinstitute/gatk-sv/blob/xz_fixes_3/module10_benchmark/TasksBenchmark.wdl#L1478), when providing a BED file generated from svtk vcf2bed, make the following modifications to the BED file before running VaPoR:

Split by contig
Split by sample if sample ID provided and BED contains sample column
Remove BND, CPX, and CNV events
For INS events (including MEI/SVA/ALU), put INS_{SVLEN} in the SVTYPE/description column

The motivation is to allow users to provide the cohort-wide BED file from svtk vcf2bed from MainVcfQc to VaPoR without extra manual modifications.
This task should be able to handle BED files that are bgzipped or uncompressed, single-sample or multi-sample, and already modified with SVLEN for INS or not (as long as there is a header with an SVLEN column). I rewrote it in python for readability after it became unruly in bash due to the many alternate code paths.
Testing

Ran with manually created single-sample VaPoR-ready BED files to just split by contig and strip out BND/CNV/CPX. Confirmed the results were identical other than small change due to random sampling of high-coverage areas
Ran with BED file from svtk vcf2bed and confirmed that INS events were properly formatted and evaluated by VaPoR

Tested WDL & reran womtool validation with latest updates, including adding the preprocessing script to the docker and switching to the primary contigs list file instead of an array of contigs input.
Note that I tested the WDL in Terra as the file in the VaPoR JSON template does not have the right permissions to use for testing. The template itself is correctly formatted, but I'm not sure if there is more widely available data that can be used for testing here.


RSDK-2425 Add OnCrashHandler to managed processes

RSDK-2425
Adds OnCrashHandler to ProcessConfig, a func(int) bool to be called when the manage goroutine detects a crash (unexpected stop) of the process. If the returned bool is true, the manage goroutine will attempt to restart the process. Otherwise, the manage goroutine will simply return. Adds tests for OnCrashHandler() in various use-cases.
Useful generally, but more specifically for handling crashed modules, which are run as ManagedProcesses.

@Otterverse thanks for the feedback. Combined the tests into a single test with some safer concurrency (channel and an atomic int). The previous tests did have race conditions (failed with -race); this one seems fine. Let me know what you think.

just need to update PR title :)


:sparkles: Add streaming task support

Closes #101
This was remarkably simple after all the 🌶  refactoring that we did in the service generation / implementation packages

@gabe-l-hart I've gone and deleted isa.py and stored the streaming-ness of the task on the class itself so we can query it instead of guessing later based on the shape of the output