Prism sends empty responses after about 15 api calls

In postman, if I hit my prism endpoint I get a valid response.
If I hit the end point about 15 more times I continue to get a 200 from prism but I get an empty response which is not a valid response. I am using the windows binary and running the following:
./prism mock --spec swagger-output.json --debug
This issue seems to happen to all of my endpoints on my prism instance. I am waiting for a request to successfully come back before I make the next request. Once prism starts failing, it fails for all future request regardless of the endpoint or the timing of the request.
The debugger prints the following regardless of if the request is working or not:
INFO: martian: received request: http://localhost:4010/api/Report/TasksByTypeMetric
DEBUG: martian: skipping round trip
DEBUG: martian: sent response: /api/Report/TasksByTypeMetric
DEBUG: martian: waiting for request: [::1]:53792

@JacksonRudd could you email me your spec? My email is<EMAIL_ADDRESS>Thanks!

Yep, just sent it.

Thanks that was super helpful, going to release a fix very soon.

Released, let us know if you are still seeing the issue.

Works perfectly! Thanks :)
On Thu, Apr 25, 2019 at 1:52 PM Thomas Pytleski<EMAIL_ADDRESS>wrote:

Released, let us know if you are still seeing the issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stoplightio/prism/issues/264#issuecomment-486833791,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHDMCC7CWKABRIAZAJJPY43PSIK2LANCNFSM4HIH2URA
.


Link to "ROCm's package servers" is broken in README.md

Describe the bug
Link is broken as it reads:

You can download pre-built packages from ROCm's package servers, or by clicking the github releases tab (this option could have a newer version).

Thanks for reporting this; we will update the README and documentation with updated instructions.

This has been already fixed for a while.


Time out waiting on SSH connection gracefully, use asyncio on receiving end.

Which PR are you using to run jobs to test this?

Which PR are you using to run jobs to test this?

https://github.com/google-ml-infra/jax-fork/pull/26

Could you add an action to this repo that listens for the labels for testing purposes?  This repo has the same runners available to it.

Could you add a workflow to this repo that listens for the labels for testing purposes? This repo has the same runners available to it.

https://github.com/google-ml-infra/actions/pull/7

Could you add a workflow to this repo that listens for the labels for testing purposes? This repo has the same runners available to it.

#7

Approved it, i'll give this one a try with that merged


Publish to crates.io

I'd really like to do some more in-depth experimentation with futures-await, but unfortunately the system I'm working in doesn't support git dependencies. I understand that publishing futures-await is currently blocked on publishing new versions of syn, quote, and synom. @alexcrichton suggested a possible workaround for this: we could publish forks (e.g. "alexcrichton-syn") to crates.io and use those crates instead (temporarily).
cc @mystor -- what do you think about this plan?

cc @mystor

Ok @mystor and I talked in person and I've published on crates.io now! The syn/quote crates are temporarily published under futures-await-syn and futures-await-quote

Awesome! Thanks.


Eigenvalue errors in 0.3.20 and 0.3.21 on ARM / M1

Hello, I'm noticing some errors in results and nonconvergence in eigenvalue routines on mac M1.  I've put together some simple test problems using numpy, scipy, and libopenblas builds from conda-forge:
import numpy as np
import numpy.linalg
import scipy.linalg

A = np.array([[0, 1j], [-1j, 0]])

test_unitary = lambda A: np.allclose(np.eye(2), A.T.conj() @ A)

w, v = numpy.linalg.eigh(A)
print("numpy.linalg.eigh:", test_unitary(v))

w, v = scipy.linalg.eigh(A)
print("scipy.linalg.eigh:", test_unitary(v))

w, v = numpy.linalg.eig(A)
print("numpy.linalg.eig:", test_unitary(v))

w, v = scipy.linalg.eig(A)
print("scipy.linalg.eig:", test_unitary(v))

B = np.eye(2)
w, v = scipy.linalg.eig(A, B)
print("scipy.linalg.eig (gen):", test_unitary(v))

With openblas 0.3.18, all of these tests pass on M1.  With openblas 0.3.20 or 0.3.21, the numpy Hermitian test returns wrong results, and the scipy generalized non-Hermitian routine fails to converge.  I wasn't sure if I should bring this up on the scipy/numpy or any of the conda-forge repositories, but thought I'd start here. Any thoughts?

Possibly related to https://github.com/numpy/numpy/issues/21950 (which I cannot reproduce on non-OSX systems, including an M1 running Linux). Not sure if this could be a conda build problem (or a particular set of build options there that I may have missed) or something that really only shows up in an OSX environment. Fact is that after 0.3.18, the BLAS kernel mix used on M1 was upgraded to include some codes originally written for the ThunderX2T99 platform, a corner case in the DNRM2 kernel
was subsequently identified in 0.3.20 and fixed in 0.3.21. Unfortunately my only M1 access is through the GCC compile farm, and its sole OSX M1 has been unavailable lately.

Getting "True" for all five calls in your test case on the Linux M1 with OpenBLAS built from source and numpy/scipy both installed via pip (and the libopenblas that came with them both replaced of course)

From my side this problem appears when I install Scipy from Conda. Once with Scipy uninstalled, numpy.linalg.eigh() can give the correct eigenvectors.
Then I tried installing Scipy from source. No issue of the eigenvectors is observed.
I also observed that the Openblas library from Conda is quite inefficient for M1. The  Numpy I'm currently using is installed from PyPi channel and Scipy is built from source with Openblas library from Homebrew. My code runs 3~4 times faster than with the Conda installation.

AFAIU that speed difference is due to setting DYNAMIC_ARCH=0 in conda-forge, though this is probably more owed to support for osx-arm still maturing at the time it was added. I also don't really understand where such a behavioural difference could come from. We build pretty vanilla openblas.

h-vetinary what are the full build options you use ? DYNAMIC_ARCH=0 with TARGET=VORTEX should be a bit faster than DYNAMIC_ARCH=1 (which would settle for generic ARMV8), not slower as reported here. Do NumPy and Scipy bring their own copy of OpenBLAS when installed via conda ? I noticed yesterday that a pip install on the Linux M1 brought in an INTERFACE64=1 build of OpenBLAS with NumPy, and an additional, non-INTERFACE64 version with SciPy. If both libraries got loaded in the same python instance, there could be some unwanted crossover if there is a symbol missing its 64 suffix in the
INTERFACE64 version, or a call to an internal function manages to cross into the "other" library. ( https://github.com/MacPython/openblas-libs/issues/79 which I had begun to address in #3658 )

Do NumPy and Scipy bring their own copy of OpenBLAS when installed via conda?

They share one openblas that's built separately, so they don't bring their own copies.

DYNAMIC_ARCH=0 with TARGET=VORTEX should be a bit faster than DYNAMIC_ARCH=1

Thanks, makes sense. I had confused myself.

what are the full build options you use?

Build script is here + some relevant config here.

I noticed yesterday that a pip install on the Linux M1 brought in an INTERFACE64=1 build of OpenBLAS with NumPy, and an additional, non-INTERFACE64 version with SciPy

Not sure what's happening with pip install. In conda-forge, the ILP64 stuff is not default and must be selected specifically (and we strongly recommend not mixing conda-forge with pip installs; not least to these sorts of potential problems).

Nothing scary in build script
Long ago it was overall that SOMETHING=0 was inconsistent config, like #ifdef SOMETHING all over the place, but should be correct nowadays.
https://github.com/conda-forge/openblas-feedstock/blob/9d5671d1e06d0c81fdaeb7e4e96292948c56558c/recipe/build.sh#L68
I would suggest a test build that does minimal overrides over Makefile.rule only, from the set actually written in that command line, if that fixes something, we have to address legacy problems.

Nothing suspicious in the build options (if I read them correctly). I have rerun my build tests with clang 13 instead of gcc and did not reproduce the problem there either,  with the only caveat that I cannot test a clang build with OpenMP on the gccfarm host.
I have also checked (again) that none of the assembly kernels used in the "VORTEX" target - and in particular none of those brought in from ThunderX2T99 since 0.3.18 - uses the x18 register that is reserved on OSX.

I can confirm that this issue is only with the openmp build and there are no issues with a pthread build on a mac M1

Thank you. I saw no issue with gcc/libgomp on Linux/M1, and the only recent OpenMP-related change would be #3703 (reverting omp threadpool resizing behaviour to its pre-0.3.11 form). Anyway OpenMP behaviour should not be influenced by choice of "VORTEX" target over "ARMV8", Might this be a coincidental bug in the clang/libomp version used to build the conda package ?

Sorry. That was a pthreads build and TARGET=armv8 build. Let me try a pthreads and TARGET=VORTEX build

A pthreads build with TARGET=VORTEX gives the wrong results too.

compiler version and build options please ?

Same as conda-forge build options except USE_OPENMP=0 and clang=13

Thanks. With the OSX M1 in gccfarm still unavailable and the problem irreproducible on Linux, I can only suggest further steps to test: (1) change kernel/arm64/KERNEL.VORTEX to include KERNEL.ARMV8 instead of KERNEL.NEOVERSEN1. (2) if that makes it work, bring back individual thunderx2t99 kernels from KERNEL.NEOVERSEN1 until it breaks again. These changes are limited to DAXPY, all ?ASUM (but probably only DASUM relevant here), similarly ?COPY, I?AMAX, ?NRM2, ?DOT.

Trying to setup Cirrus-CI now which claims to offer M1 instances

Very strange - all the (few) other M1-specific settings in the codebase should be unchanged from the initial M1 support that went into 0.3.19. But a build with TARGET=ARMV8 passes the tests ?

But a build with TARGET=ARMV8 passes the tests ?

Yes

Well, the only differences I see are (1)-march=armv8.3-a vs. -march=armv8-a (in Makefile.arm64 - suggests compiler error if this should be the cause) and (2) bigger GEMM P,Q in param.h (which should not have this effect, and may even have little effect in terms of performance)

(1)-march=armv8.3-a vs. -march=armv8-a

Bingo. Changing to armv8-a fixes the tests even with KERNEL.NEOVERSEV1 in KERNEL.VORTEX

Borked compiler or assembler ? Guess this is Apple's very own version of their LLVM, after all I did not see this in the Asahi Linux builds.

Guess this is Apple's very own version of their LLVM

Nope. Using vanilla clang builds. Let me try clang 14.

Just checked gcc103.fsffrance.org again - I was fairly certain that I had used clang 13 there, but clang --version now says 14.0.6-2 and system file dates suggest that at least llvm has been reinstalled this morning.

Let me try clang 14.

Nope. clang 14 fails the build as well.

(gcc+)gfortran-11 build still passes on Asahi Linux/M1 without changing anything in OpenBLAS

This is a slightly older build of gfortran 11. I'll try a few things, but I think it's safe to close this issue for now as a compiler bug.

I guess I could add a gfortran version check to that section of Makefile.arm64 if necessary, but my options for testing are currently limited (cirrus-ci setup appears to be hampered by their M1 being a VM with zeroed or atypical sysctl entries, brew fails to install just about anything related to python/numpy)

The Asahi Linux machine has gcc/gfortran 11.3.0 in addition to 12.1. I suppose I could build an older release from source there if necessary

This one was a 11.0.1 build which is old when talking about M1 performance.

cirrus-ci setup appears to be hampered by their M1 being a VM with zeroed or atypical sysctl entries, brew fails to install just about anything related to python/numpy)

Shameless plug (:smile:), you could use conda.

Sure, but how do I get conda there when brew install --cask conda (or anaconda, or whatever) explodes with unexpected method "arch" called on (lots of dependencies) -- but same goes for pip

curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
bash Mambaforge-$(uname)-$(uname -m).sh

Thank you, I got it working now. (And tests pass as the installation obviously picked up your build openmp_hcb59c3b_1 from two days ago that uses TARGET=ARMV8 as a workaround)

Thanks @martin-frbg and @isuruf for drilling down into this!  I'm happy to close since it seems like there's nothing to do here on the openblas side.
@isuruf, do you think the current TARGET=ARMV8 build on conda-forge is the right solution for the time being, or is fixing the underlying gfortran issue and change back to TARGET=VORTEX something that might happen soon?  Definitely not trying to rush anybody -- the speed here has been really impressive -- I'm just wondering if we should change things downstream to link to that build at this point, or if holding off a few more days makes sense.  Thanks again!

Thank you, I got it working now. (And tests pass as the installation obviously picked up your build openmp_hcb59c3b_1 from two days ago that uses TARGET=ARMV8 as a workaround)

Great. You can install libopenblas=0.3.21=*_0 to get the old build. (btw, Matti sent you an email about getting you SSH access to a M1)

is fixing the underlying gfortran issue and change back to TARGET=VORTEX something that might happen soon?

Working on updating to gfortran 11.3 in is fixing the underlying gfortran issue and change back to TARGET=VORTEX something that might happen soon?

@kburns, I uploaded a TARGET=VORTEX build with gfortran 11.3 which should not have the errors.

Great, thanks!


Banner Not Showing

Hi again,
Now my apps runs smoothly except that the banner is not showing in debug mode. Is it normal?

Hello,
Which platform, android/iOS?

Still in development mode. Not  yet deploy in any mobile
On 12 Apr 2017 17:37, "Yev"<EMAIL_ADDRESS>wrote:

Hello,
Which platform, android/iOS?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/yevgeniy-logachev/QtAdMob/issues/16#issuecomment-293525651,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AY4xALkUhh7fifRw1eLDh6Z-3qcTxMcRks5rvJtrgaJpZM4MRWD-
.

I ask about on which platform banner doesn't shows in debug configuration? That is not normal, banners and interstitials should be visible on debug and release. Are there exists any error logs in console after launching application?


HTTPIO_PLG_CANCELED while adding online repository

What to check?

Can you provide a bit more info?

I suppose I am missing HTTP service. Yes? Should I add it via RZ10?

Please check that there's a HTTPS Service created: RZ10 → Go To → Services. If not you have to define it in RZ10 > Extended Maintenance of the current version of the system-related Profile (not Default!) by changing/adding the parameter "icm/server_port_x" whereas x stands for an available server port (e.g. 1 or 2):

You can figure out what port is available from the list of services in SMICM > Go To > Parameters > Display. In this case (s. image above) there's already a HTTPS service on server port 2.
After that the ICM Server is to be restarted: SMICM > "Administration" -> "ICM" -> "Exit Soft" > "Global". Please make sure there are no running processes that are depending on the ICM Server! They will be canceled!
Also make sure that you have none or a valid Proxy maintained: SICF → F8 → Client → Proxy Settings → HTTPS Protocol → Emptying or maintaining Hostname and Port with valid values.
Please also check you SAPCRYPTOLIB version: SA38 > SSF02 > Execute (F8) > Execute (F8). You must have at least CommonCryptoLib 8.4.38; SAP recommends 8.4.49 (SAP Note 510007). If you not meet this criteria you have to update the libary (s. SAP Note 2450794).

@Suncatcher Did you solve this issue?

Not yet. I will report when I solve

any luck? I dont think this issue is a bug in abapGit, most likely a system/network issue

I am closing this for now as it is my SSL/TLS problems


Support HandleReadMemoryRequestAsync

This allows OpenDebugAD7 to support the ReadMemoryRequest for DAP.

internal class AD7DebugSession : DebugAdapterBase, IDebugPortNotify2, IDebugEventCallback2

Need to also send a ProcessEvent with PointerSize defined

Refers to: src/OpenDebugAD7/AD7DebugSession.cs:30 in dbd0fe3. [](commit_id = dbd0fe3c5333608c1e2982f50881076f4b8ac874, deletion_comment = False)

{

VariableManager.CreateVariable needs to populate the memoryReference

Refers to: src/OpenDebugAD7/AD7DebugSession.cs:31 in dbd0fe3. [](commit_id = dbd0fe3c5333608c1e2982f50881076f4b8ac874, deletion_comment = False)

Converting to Draft. I need to finish up the messaging on the VS Code side to fully test this.

@gregg-miskelly Do we want to add memoryReference to all variables created by VariableManager.CreateVariable?
Used in:
HandleVariablesRequestAsync
which also calls
VariablesFromFrame

@gregg-miskelly Do we want to add memoryReference to all variables created by VariableManager.CreateVariable?

I think you would want to add them to any variable where GetMemoryContext succeeds.


Generating my own dataset

❓ Questions and Help
I only want to train on easy difficulty datasets. From what I can see, there isn't a way to do this easily using the API. I'm willing to generate a new dataset using pointnav_generator.py, but I don't understand how to convert/export it from a python Object to a json.gz like the other premade gibson datasets.

To train on easy difficulty datasets you can use filter_episode function to leave only easy episodes.
Regarding saving dataset to the disk: after creating a dataset with episodes you can save it on the disk:
import gzip
...
with gzip.GzipFile(main_dataset_file, "wb") as f:
  f.write(dataset.to_json().encode("utf-8"))

Hi @mathfac ,
This is a follow-up question related to the topic "Generating my own dataset". Does Habitat give you the functionality to render your own dataset with a user-specified trajectory and sensor suite?
More concretely, I am looking for something similar to the ViSim by InteriorNet (the ViSim is not released yet). Perhaps an equivalent setup does not exist in Habitat, but maybe the API offers the same tools?
Any help is appreciated.

So I can generate datasets, but is there a way for me to specify a specific .glb mesh to load?
To actually use generate_pointnav_episode, I need a specific mesh to be loaded into the sim. There doesn't seem to be a way to control this. I'd like to tell a sim to load xxx.glb.
If you launch a sim and iterate through the episodes forever, certain meshes never appear. Euharlee.glb, for example. Even if I set DATASET.SCENES_DIR, in the yaml it seems to try and load meshes that do not exist in that directory.
cfg = habitat.get_config('episode_generator.yaml')
# yaml contains: SCENE_DIR=...gibson
# directory structure
... gibson|-> Euharlee.glb
          |-> Euharlee.navmesh
env = habitat.Env(cfg)

ValueError: Cannot load: .../gibson/Dunmor.glb

Hi @smorad,
I am also trying to create my own dataset. By this I mean that I want to store the rgb frames to disk as I traverse the scene. I am able to do this by navigating with the keyboard, but this is tedious. A faster way would be to have an agent walk the shortest geodesic path from some random starting position to some random goal position.
Were you able to do this, and if so, could you please provide me with the necessary code?
Cheers!

Unfortunately I wasn't able to figure out how to load a specific scene. Would be interested to know if you get it working.

The way I load a specific scene is similar to what is done in this example code. Note that this example code does not define a task and episodes but only uses habitat_sim.
Is this helpful to you?

Hi, i too would like to create my own dataset but with my own .glb files. I have looked into test_pointnav_dataset, pointnav_generator and the run.py for the baseline examples. However, i am still unsure how to achieve my goal - my understanding is that i need to first create the jsons (train, val, test) that determine what .glbs are loaded and set the start and goal positions. The only way the get the jsons for the existing supported datasets seems to be downloading them, is there a tool to create the json ? There is a similar issue about exactly this problem with the replica dataset  ([https://github.com/facebookresearch/habitat-api/issues/136])but as far as i can tell there is no answer yet.

Hi, I join the thread because I have the same need. I have a custom environment and I have to generate the json episodes file to later train and evaluate a RL model. What is the correct procedure to create it with the simulator api? Can somebody provide even a short code example?
Thanks

I've found a jupyter notebook by erikwijmans that shows exactly how to generate the navigation episodes given the environment mesh (glb): erikwijmans/create_pointnav_dataset.py
Hope it helps!


SW-5800 Include imported documents in submissions fetch

When documents are imported from PDH, their projects won't necessarily be
associated with participants or cohorts, or they'll be associated with cohorts
that don't have any modules assigned to them. But we still want their
deliverables to show up in the accelerator console's deliverables list.
Make the "list all deliverables" API endpoint include submissions that don't
have the usual project -> participant -> cohort -> cohort module associations.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2318  👈
#2317
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @sgrimm and the rest of your teammates on  Graphite

Merge activity

Aug 23, 3:49 PM EDT: @sgrimm started a stack merge that includes this pull request via Graphite.


Unable to install

Summary
Windows 10 Powershell installer command fails with "The handle is invalid" when attempting to download the IBM Cloud CLI installer from https://plugins.cloud.ibm.com/download/bluemix-cli/latest/win64
Steps to reproduce
(include tooling version, platform, etc)

On a clean machine, with all prereqs already installed, execute:

[Net.ServicePointManager]::SecurityProtocol = "Tls12, Tls11, Tls, Ssl3"; iex(New-Object Net.WebClient).DownloadString('https://ibm.biz/idt-win-installer')

Operating System
Windows 10 64bit
Supporting details
[main] --==[ IBM Cloud Developer Tools - Installer for Windows, v1.2.2 ]==--
[install] Starting Installation/Update...
C:\Program Files\IBM\Cloud\bin\ibmcloud.exe : The term 'C:\Program Files\IBM\Cloud\bin\ibmcloud.exe' 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
+ C:\"Program Files"\IBM\Cloud\bin\ibmcloud.exe plugin list
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Program File...in\ibmcloud.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

[install_deps] Checking for external dependency: git
[install_deps] Checking for external dependency: docker
[install_deps] Checking for external dependency: kubectl
[install_deps] Checking for external dependency: helm
[install_ibmcloud] Installing 'ibmcloud' CLI for Windows...
[install_ibmcloud] Downloading and installing 'ibmcloud' CLI from: https://clis.cloud.ibm.com/install/powershell
Current platform is Win64. Downloading corresponding IBM Cloud CLI...
Start-BitsTransfer : The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))
At line:23 char:1
+ Start-BitsTransfer -Source "$($resp.ResponseUri.AbsoluteUri)" -Destin ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Start-BitsTransfer], COMException
    + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.BackgroundIntelligentTransfer.Management.NewBitsTransferCommand

Download complete. Executing installer...
& : The term 'C:\Users\LBLACK~1\AppData\Local\Temp\IBM_Cloud_CLI.exe' 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:27 char:3
+ & $DownloadedInstaller /s /v"REBOOT=ReallySupress /qn"
+   ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\LBLACK...M_Cloud_CLI.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Install complete. Please restart to make the modification effective.

Development "done" checklist

[ ] Test case to verify
[ ] Public Documentation updated
[ ] Change added to "release notes" as appropropriate
[ ] Notification to stakeholders (OM, other squads, etc)

I was unable to recreate this problem in my Windows environment today. I am wondering if this was a temporary problem with the download:
Installing version '1.2.0'...
Downloading...
7 .1988. 1M4i BM i/B  1/8 .1184. 1M4i BM i[B= =[==================================================================================================================================================================]= = ]9 91.0103.%0 00%s 2s
19022920 bytes downloaded
Saved in C:\Users\ibmadmin\.bluemix\tmp\bx_333133451\IBM_Cloud_CLI_1.2.0_amd64.exe
[install_ibmcloud] IBM Cloud CLI version:
C:\Program Files\IBM\Cloud\bin\ibmcloud.exe version 0.20.0+5d69177-2019-10-31T07:15:05+00:00

I was able to download the installer directly bu inspecting the install script and recreating the steps manually. I think at least the script should fail if the download doesn't complete.

Fair point. The installer at this time just continues whenever any install fails. We will make a note of this for future changes to the installer.


Try wrapping the ItemsRepeater in a StackPanel.

That might fix the disappearing scrollbars issue.

Forgot to close this, but it did help, I think.


Dependency issue found in lodash 4.17.20

Link to issues on snyk:
https://snyk.io/vuln/SNYK-JS-LODASH-1040724
https://snyk.io/vuln/SNYK-JS-LODASH-1018905

Resolved in lodash v4.14.21 #60


integrations: Added Honeybadger integration

Official documentation was followed for adding a new webhook
integration. I have added support for all the alerts type generated in a
Honeybadger project except for when a project is deployed. To capture
that ficture I will require a Heroku account with Credit Card
verification.
I manually tested it with my development version and it works
seamlessly.

Testing Plan:
GIFs or Screenshots:

Thanks for working on this, @Udit107710
Before this PR can be reviewed, I'd suggest you go through Zulip's Version control guide.
You can use git rebase -i to fix the commits locally, and then push it up with git push -f.
Feel free to ask questions in #development help if you need any help.

Thanks for working on this, @Udit107710
Before this PR can be reviewed, the commits need to be cleaned up. I'd suggest that you go through Zulip's Version control guide.
You can use git rebase -i to fix the commits locally, and then push it up with git push -f.
Feel free to ask questions in #development help if you need any help.

Okay, on it!

@vinitS101
Kindly take a look.

Commits look much better now. Someone will review the changes soon.

@Udit107710 could you rebase this PR on the latest master? The github links issue should be fixed there, already.
Also, could you split the changes to unrelated svgs into a separate commit?


Error in  sbt startup shell in cygwin environment

I use cygwin environment from years and scala in this environment as well. I just started to use sbt some month ago (with some difficulties I work arround).
After installation of version 1.4.5 I eventually found the first corrections I propose to allow (again) the use of sbt in cygwin.
The corrections is only for the startup shell script:
$ diff sbt sbt.edited
109c109,111
<   echo "${sbt_bin_dir}/java9-rt-export.jar"
---
>   #-> echo "${sbt_bin_dir}/java9-rt-export.jar"
>   #-> Must be a windows path on cygwin, as for 'jar_file'
>   echo "$(cygwinpath "${sbt_bin_dir}/java9-rt-export.jar")"
338a341,343
>     #-> java9_ext=$("$java_cmd" "${sbt_options[@]}" "${java_args[@]}" \
>     #->   -jar "$rtexport" --rt-ext-dir | grep java9-rt-ext-)
>     #-> The returned vamlue ends with '\r' on cygwin, so remove it
340c345
<       -jar "$rtexport" --rt-ext-dir | grep java9-rt-ext-)
---
>       -jar "$rtexport" --rt-ext-dir | grep java9-rt-ext- | tr -d '\r')
Luc@Mulan ~/bin
$

Hope this can help

@flomebul Thanks. Could send a PR on this plz? The file is here - https://github.com/sbt/sbt-launcher-package/blob/master/src/universal/bin/sbt

@flomebul Thanks. Could send a PR on this plz? The file is here - https://github.com/sbt/sbt-launcher-package/blob/master/src/universal/bin/sbt


Implicitly include cf.colo.id to the ruleset characteristics

cf.colo.id implicitly included when using the dashboard, but
this is required as ratelimiting counting is processed at colocation level only.

Thanks for this @Nmishin; appreciate it and apologies for the delay but I'm in and out for the next couple of months, so feedback will be spotty.
I like the intention here however I don't think we should implicitly include this by default as this is a service detail that Terraform shouldn't care about. Could we instead update the documentation or example to mention this is currently a required characteristic?

Sounds good to me, will check documentation and update if needed, thank you!


WIP: Make Tests utilize factories

Before adding support for MiniTest (and upgrading to newer versions of JSON Schema support), simplify the test suite's data to limit the amount of duplication necessary to support both libraries.

closing in favor of https://github.com/thoughtbot/json_matchers/pull/73.


.Net: Customizing plugin descriptions

Scenario:
When the planner chooses to use a Memory plugin, sometimes it sends "queries" that are too short, e.g. "sessions on AI".
If the query is too short, the memory plugin often returns no results or irrelevant ones.
It works better with long queries, e.g. "sessions, conferences, meetings on AI / Artificial Intelligence".
It would be better if the planner would send long queries, however the planner is just following instructions provided via function descriptions, e.g.
      [SKName(QueryParam), Description("The text to search in memory")]
      string query,
When using 3P plugins, the description is hardcoded and immutable, and it might not serve the purpose of the user, or it might be suboptimal. This applies to any plugin really, not just memory. About our Memory plugin, we will fix this eventually on the service side, however, the problem applies to all plugins.
It would be nice if such descriptions, and probably also names and all other params, could be overridden when importing the plugin into the kernel. (I don't think it's currently possible, is it?). Something like:
kernel.ImportFunctions(this, skillName, ...overrides...);
#1
As a developer,
when I import a function into the kernel,
then I can customize function name & description, parameters name & description, default values
and these customizations affect how planners and agents see and use the list of available functions/plugins.
#2
As a developer,
when I import a function into multiple kernels,
then I can customize names & descriptions & default differently on each kernel.
The second user story is important to allow evaluating different settings, e.g. in A/B planner testing.

All .Net issues prior to 1-Dec-2023 are being closed. Please re-open, if this issue is still relevant to the .Net Semantic Kernel 1.x release. In the future all issues that are inactive for more than 90 days will be labelled as 'stale' and closed 14 days later.


Support Function calling

OpenAI has added "function calling" feature to the Chat api
https://openai.com/blog/function-calling-and-other-api-updates
We could leverage this feature to allow interfAIce proxies to call upon other methods
ex)
interface FunctionAware<T> {
    fun withFunction( ... ): T
    fun withFunctions( ... ): T
}
interface WeatherService : FunctionAware<WeatherService> {
    fun getWeather(): Weather
}

val proxy = OpenAiProxyFactory.of("sk-****").create<WeatherService>()
proxy
    .withFunction(weatherClient::greet)
    .getWeather()

https://github.com/openai/openai-cookbook/blob/main/examples/How_to_call_functions_with_chat_models.ipynb


Time to finally allow negative lookbehind?

I just checked and the latest versions of Safari (that now support negative lookbehind) [16.4, 16.5, etc] go all the way back to Big Sur, supporting:

Big Sur (November 12, 2020)
Montery (October 25, 2021)
Ventura (October 24, 2022)
Sonoma (September 26, 2023)

Big Sur support extends all the way back to Mac's from 2013.  I have some sympathy for those who hold off a while on OS releases, but little for those who would avoid installing the newest version of Safari (since often there are security fixes, etc)... so I think if we allow support for negative lookbehind we'd only be dropping support for Mac's 10+ years old or those refusing to upgrade their Safari - in which case I'd suggest they use another browser instead, such as Chrome.
So I say it's time to allow look-behind...
Thoughts, @allejo ?

As long as the introduction of negative lookbehinds in grammars is introduced in 12.0 and not in our 11.x series, you have my support :+1:
Solely on principle for semantic versioning, I'd be hesitant to introduce a breaking change in browser support in a minor release

I have quite a few personal lexers that really require the use of lookbehinds as my current workarounds do not work for all cases.  Is there a timeline on when lookbehinds will be allowed?

Well if they are truly personal, just use them... it's only the core library that we aren't allowing them in v11 because of semantic versioning.  I haven't had much time lately to do a major release but it's a long weekend so I'll take a look at where we stand with v12...
@allejo The old website handled us being able to publish two major versions at once - and it just did the right thing (pay attention to the new one)... does the new website share this characteristic - what if say we pushed a few 12.0.0-beta or alpha relases?

Ah it looks like all I needed to do was change the ecmaVersion to 2018 in the config to allow it to work.  Thanks!

Closing as the decision has been made, this will be allowed when v12 ships.


move from atomic.Int64 to atomic.Value to support 1.18

An attempt to solve this issue: https://github.com/golang/go/issues/57113

https://github.com/golang/go/issues/57113#issuecomment-1339944574


Feature/test out jacoco

Hookup jacoco to Maven and to coveralls.io
Coverage still looks wonky, possibly due to multi-modules, but better than nothing

Coverage increased (+2.5%) to 14.138% when pulling bb39a2cbe5e88dcbd7db01a4b07b389f25858c11 on feature/test_out_jacoco into 72058834de908b5bc2eb9463354052fa7ec8aefb on develop.


Hyperpartisan news detection

Adding the hyperpartisan news detection dataset from PAN. This contains news article text, labelled with whether they're hyper-partisan and why kinds of biases they display.
Implementation notes:

As with many PAN tasks, the data is hosted on Zenodo and must be requested before use. I've used the manual download stuff for this, although the dataset is provided under a Creative Commons Attribution 4.0 International License, so we could host a version if we wanted to?
The 'bias' attribute doesn't exist for the 'byarticle' configuration. I've added an empty string to the class labels to deal with this. Is there a more standard value for empty data?
Should we always subclass nlp.BuilderConfig?

Thank you so much for working on this! This is awesome!
How much would it help you if we would remove the manual request?
We are naturally interested in getting some broad idea of how many people and who are using our dataset. But if you consider hosting the dataset yourself, I would rather remove this small barrier on our side (so that we then still get the download count from your library).

This is an interesting aspect indeed!
Do you want to send me an email (see my homepage) and I'll invite you on our slack channel to talk about that?
@ghomasHudson wanna reach out to me as well? I tried to find your email to invite you without success.


Add ol.list-group with pseudo-element numbers

Fixes #26202, closes #32244.
Originally mentioned by me at https://github.com/twbs/bootstrap/pull/32244#issuecomment-760444399.

Uses generated content via CSS to add the numbers inside list group items. This is done because the styling available for normal ordered/numbered lists affords basically no ability to style, place, align, etc the numbers. This way, people can apply their own custom styles to the ::before element and match or differentiate them as desired.
Preview: https://deploy-preview-33068--twbs-bootstrap.netlify.app/docs/5.0/components/list-group/#ordered-list

No need to add this in the next beta IMO, so slating for either v5-stable or v5.1.

I would think this is better suited for an additional class. I for one often use .list-group with ordered lists (for semantical/accessibility reasons) but like not having the numbers show.

Updated to use a class so that it's opt-in.


pkg/config: allow configuration to be read from json schema

I wanted to create a CRD based on prometheus-adapter configuration. Sadly controller-gen requires json schema to be used in golang types files.
PR should allow using controller-gen and other tools to consume existing API.
/cc @dgrisonnet @s-urbaniak

/approve

/ok-to-test


[WIP] feat: Messaging continuity when node connection lost

About
This PR addresses inconsistency of experience when the user loses API connection but still has Web UI open. See https://github.com/ipfs-shipyard/ipfs-webui/issues/1575 for original issue details.
Done

On Welcome page, "in this app" and "what is IPFS" boxes only appear if the user is connected
On Status page, if connection is lost, displays the same "Could not connect to the IPFS API" troubleshooting box as on the Welcome page
Assorted cleanup required to facilitate this (note: would appreciate a close code review on this, thanks in advance!)

AboutWebUI and AboutIpfs get their own components
IsConnected gets its own component
IsNotConnected gets its own component (which is used on the Status page now too)
Removed old Status page component StatusNotConnected and its associated i18n/storybook stuff

To do
Please note that these will require some help from @lidel and/or @rafaelramalho19 ...

Improve detection/reload logic so user doesn't get "stuck" on a page with outdated information, not knowing they've dropped API connection

This could mean creating a separate "you're not connected any more" page that includes the IsNotConnected component, or it could just mean displaying the IsNotConnected component at the top of each individual page if connection is lost (this is how it's currently done on Status page)

Closes https://github.com/ipfs-shipyard/ipfs-webui/issues/1575.

@lidel -- per our chat earlier today, I believe this addresses everything except improving the detection/reload logic for when connection is dropped. I did move quite a bit around from WelcomePage.js into IsNotConnected.js, so would appreciate a close review, but everything appears to be working as expected. Let me know if I can help with anything else. Thanks!

Regarding nit 1, @rafaelramalho19, do you have any suggestions, since you added this bit in originally? 😊
Regarding nit 2, looks like anchor tags don't work as expected with react-router: https://stackoverflow.com/questions/48223566/using-anchor-tags-in-react-router-4
We could manually specify scroll position, or install react-router-hash-link, but neither of those feel particularly pretty. :(
Regarding detection/reload logic -- is that something you'd want to do in this PR, or break it out into separate work?

@jessicaschilling related to nit1, here's the fix: https://github.com/ipfs-shipyard/ipfs-webui/pull/1577
Nit 2 should be addressed with react-router-hash-link 😄

@lidel Unfortunately it looks like using react-router-hash-link isn't going to work unless we pull the default use of # in all our URLs. Is direct-linking critical at this point? I might recommend we punt on this until later.

After discussion with @lidel, rearranging Settings page slightly as a workaround:

What changed:

Swapped API Address and Language boxes
brought analytics disclaimer “No CIDs, filenames …” full width of page and tightened margin between that and “Configure what is collected”
Removed the superfluous “API ADDRESS” label above the box for changing API - put that i18n item inside the input itself as aria-labelledby={t('apiAddressForm.apiLabel')} for accessibility -- @rafaelramalho19, can you please confirm that this is the right way to handle this a11y-wise?

Re-requesting reviews all around. Thanks!

Would it be ok to hide the JSON editor when API is offline?
Agreed! @rafaelramalho19, do you mind including this in the changes @lidel mentions above? Thank you 😊

Resolved the conflict created by CLI tutor mode merge.
Also, CircleCI behaving itself again after last week's irregularities, so ... @rafaelramalho19 and @lidel, are we thinking we are ready to merge this?

@rafaelramalho19 Thanks for the a11y clarity 😊
Do you mind looking at the other question from Lidel? Re-pasted below since it gets a little lost in the thread. Thanks!
When I shut down my node and open Files screen (without reloading the page), it displays connection error AND import drawer is expanded with "Imported 0 items" message – it hit me how confusing it looks. Quick fix would be to redirect to status page when offline, or at least hide the import drawer, if possible. If we only had Orange error, then user would instinctively refresh the page:

I wasn't able to replicate because I got redirected to the welcome page, is this replicable? 🤔

@rafaelramalho19 Afraid I was just able to replicate it on my local :(

@rafaelramalho19 to replicate, you need to:

be on the Status or Peer screen and when node is online and everything works ok
shut down your node, so webui loses connection to the API
switch to Files screen (without refreshing the page)

Perhaps we should merge this as-is and fill new issue for connection error AND expanded import drawer?
Most of the users will never end up on that screen with that state.

@lidel This makes good sense, will do.

Files page visual continuity issue is in https://github.com/ipfs-shipyard/ipfs-webui/issues/1606. Per https://github.com/ipfs-shipyard/ipfs-webui/pull/1577#issuecomment-684877590, merging.


[BACKLOG-27345] - redshift username applies to both standard and iam …

…credentials
adding an explicit dependency on joda because redshift uses it at runtime

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'dbdialog,core' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'dbdialog,core' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  core/pom.xml
  dbdialog/src/main/resources/org/pentaho/ui/database/redshift_native.xul

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.job.entries.evaluatetablecontent.JobEntryEvalTableContent

Branch Change: -1.1% :small_red_triangle_down:
Complexity Change: -1.1% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Branch Change: -2% :small_red_triangle_down:
Complexity Change: -1.7% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Branch Change: -1.8% :small_red_triangle_down:
Complexity Change: -1.1% :small_red_triangle_down:
Instruction Change: -0.4% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -4.4% :small_red_triangle_down:
Complexity Change: -5.2% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:
Line Change: -0.4% :small_red_triangle_down:

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.7% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.gpload.GPLoadMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupdate.SalesforceUpdateMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupsert.SalesforceUpsertMeta

Instruction Change: -0.1% :small_red_triangle_down:


Unstable version won't install

Hey.
I've tried to install Skype via ChocolateyGUI v0.12.0-unstable012, but the action gets canceled after displaying 3/4 of the status window covered in red text that I can not read in 200 miliseconds.
Are those errors logged somewhere?

Regards & respect.

@esamo ChocolateyGUI is simply a wrapper around Chocolatey, so if there is a problem installing a package you should be able to look at the Chocolatey logs to see what is going on.
These logs can be found here:
c:\ProgramData\chocolatey\chocolateyinstall
NOTE: this assumes a fresh install on Chocolatey <IP_ADDRESS>.  If you are using an earlier version, you can find the above in C:\chocolatey\chocolateyinstall

Skype install done fine by command version of chocolatey.

Found the logs in C:\ProgramData\chocolatey\chocolateyinstall. And a big one chocolateyInstall.log.
But I can't find phrase skype anywhere before command installation. Actually I can not find anything helpful. Only few entries of list requests. Like the problem wasn't logged here or at all.

Regards & respect.

@esamo I have just tried to reproduce the problem that you have described on a fresh VM.  This is what I have done:

Install Chocolatey
Install ChocolateyGUI
Use ChocolateyGUI to install Skype

All of the above worked fine, without any problems.
If you can provide a set of repeatable steps to show this problem in action, I can dig into it further, but for now, I don't think there is anything else I can add.  Sorry!

Even update doesn't work for me on unstable version. I've found the line containing exited with '0':
20150113-19:05:44 [DEBUG] Command ["C:\ProgramData\chocolatey\chocolateyinstall\nuget.exe" list -Prerelease -NonInteractive -Source "C:\ProgramData\chocolatey\lib"] exited with '0'.
And the log below

20150113-19:05:36 [DEBUG] Running 'Append-InstallLog' with chocoInstallLog:''
20150113-19:05:37 [CHOCO] ################################################################################
20150113-19:05:37 [CHOCO] #                  Going Chocolatey on 2015-01-13 19:05:37Z                    #
20150113-19:05:37 [CHOCO] ################################################################################
20150113-19:05:37 [DEBUG] Arguments: $command = 'list'|$force=False
|$prerelease=False|$packageNames=''
|$source=''
|$version=''|$allVersions=False
|$overrideArguments=False|$InstallArguments=''
|$localonly=True|$verbosity=False|$debug=False|$quiet=False
|$name=''|$ignoreDependencies=False|$forceX86=False
|$packageParameters=''
|PowerShellVersion=2.0|OSVersion=6.1.7601.65536
20150113-19:05:37 [DEBUG] Current Security Protocol - Ssl3, Tls
20150113-19:05:37 [DEBUG] Running 'Chocolatey-List' with selector: '', source:''
20150113-19:05:37 [DEBUG] Showing prerelease versions of packages
20150113-19:05:37 [DEBUG] Executing command ["C:\ProgramData\chocolatey\chocolateyinstall\nuget.exe" list -Prerelease -NonInteractive -Source "C:\ProgramData\chocolatey\lib"]
20150113-19:05:44 [DEBUG] Command ["C:\ProgramData\chocolatey\chocolateyinstall\nuget.exe" list -Prerelease -NonInteractive -Source "C:\ProgramData\chocolatey\lib"] exited with '0'.
20150113-19:05:44 [DEBUG] Running 'Get-ConfigValue' with configValue:'ksMessage'
20150113-19:05:44 [DEBUG] Running 'Get-UserConfigValue' with configValue:'ksMessage'
20150113-19:05:44 [DEBUG] After checking the user config the value of 'ksMessage' is ''
20150113-19:05:44 [DEBUG] Value not found in the user config file - checking the global config
20150113-19:05:44 [DEBUG] Running 'Get-GlobalConfigValue' with configValue:'ksMessage'
20150113-19:05:44 [DEBUG] After checking the global config the value of 'ksMessage' is 'true'

Regards & respect

Call me crazy, but why is this there:
' -Source "C:\ProgramData\chocolatey\lib"'?

Isn't that the switch to tell it where it should be retrieving packages from?

Yes, it is.  This shouldn't be required, unless you have all your source chocolatey packages downloaded into that folder, which really isn't a good idea.

This is how GUI configured itself. I don't know. Command version of choco doesn't fill source param.
Regards & respect.

Just realized that's because that's the log for a 'clist -lo' command. That shouldn't have any relevance to the issue.

So exactly what command are you executing?
I am not clear on whether you are using Chocolatey from the command line, or ChocolateyGUI.

I tried to install / uninstall / update via GUI, but while it doesn't work for me, I'm using command-line version. Reporting the problem with GUI.
Logs from C:\Users\esamo\AppData\Roaming\ChocolateyGUI\Logs .

This one on uninstall trial:
2015-01-14 19:23:53,559 [1] ERROR ChocolateyGui.Services.ChocolateyService [(null)] - ExecutePackageCommmand threw an exception.
System.Management.Automation.PSSecurityException: File C:\ProgramData\chocolatey\chocolateyinstall\chocolatey.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details. ---> System.UnauthorizedAccessException: File C:\ProgramData\chocolatey\chocolateyinstall\chocolatey.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details.
--- Koniec śladu stosu wyjątków wewnętrznych ---
w System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
w System.Management.Automation.Runspaces.Pipeline.Invoke()
w System.Threading.Tasks.Task1.InnerInvoke()    w System.Threading.Tasks.Task.Execute() --- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek ---    w System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    w System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
w ChocolateyGui.Services.ChocolateyService.d__5a.MoveNext()
--- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek ---
w System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
w ChocolateyGui.Services.ChocolateyService.d__53.MoveNext()

Older ones
2015-01-02 15:31:25.9435 1 [FATAL] Chocolatey.Explorer.Startup Fatal exception: StructureMap Exception Code:  207
Internal exception while creating Instance 'b347d2c0-af74-4d27-bf8d-ab691ff06434' of PluginType Chocolatey.Explorer.Powershell.IRunAsync.  Check the inner exception for more details.
2015-01-02 15:31:25.7277 1 [DEBUG] Chocolatey.Explorer.Services.SourceService.SourceService Initialize
2015-01-02 15:31:25.7589 1 [DEBUG] Chocolatey.Explorer.Services.SourceService.SourceService Loadsources
2015-01-02 15:31:25.7745 1 [DEBUG] Chocolatey.Explorer.Services.FileStorageService.LocalFileSystemStorageService Load document: sources.xml
2015-01-02 15:31:25.8031 1 [DEBUG] Chocolatey.Explorer.Services.SourceService.SourceService Added source: Chocolatey.org http://chocolatey.org/api/v2 True
2015-01-02 15:31:25.8187 1 [DEBUG] Chocolatey.Explorer.Services.SourceService.SourceService Added source: Nuget https://packages.nuget.org/v1/FeedService.svc True
2015-01-02 15:31:25.8187 1 [DEBUG] Chocolatey.Explorer.Services.SourceService.SourceService Sources changed: System.Collections.Generic.List`1[Chocolatey.Explorer.Model.Source]
2015-01-02 15:31:25.8343 1 [DEBUG] Chocolatey.Explorer.Services.SourceService.SourceService Current source: Chocolatey.org (http://chocolatey.org/api/v2)
2015-01-02 15:31:25.8343 1 [DEBUG] Chocolatey.Explorer.Services.SourceService.SourceService Current source changed: Chocolatey.org (http://chocolatey.org/api/v2)
2015-01-02 15:31:25.8655 1 [DEBUG] Chocolatey.Explorer.Services.PackagesService.CachedAvailablePackagesService Invalidate cache
2015-01-02 15:31:25.8811 1 [DEBUG] Chocolatey.Explorer.Services.PackageVersionService.CachedPackageVersionService Invalidate cache

Regards & respect

The first error message, looks like your system isn't configured to allow execution of scripts.  Has something changed recently on your system?
With regard to the "older ones" that error message is from an old version of ChocolateyGUI, which had a number of issues around dependenices, and having to manually run as an administrator.  I think we can ignore that error message.
What is Advancved SystemCare?

I get the same error message with any attempt to install.  The error window will pop up and disappear pretty quickly.  From the log file: System.Management.Automation.PSSecurityException: File C:\ProgramData\chocolatey\chocolateyinstall\chocolatey.ps1 cannot be loaded because running scripts is disabled on this system.
This is on a pretty fresh Windows 8.1 install from 3 weeks ago.  I haven't messed with any security settings.  Running choco install <packagename> from an admin powershell prompt works fine(that's how I installed this preview among other packages).  I can't install anything with the preview GUI version.  Using Chocolatey <IP_ADDRESS> and ChocolateyGUI 0.12.0-unstable0127

@gkingston can you run the following command:
Get-ExecutionPolicy

And let me know what it returns.

Just one line:  Restricted.  This is running powershell as admin.  Like I said above, I can install stuff with the command line version of chocolatey fine.

When you install from Chocolatey Command Line, are you using a PowerShell Window, or a Command Prompt Window?  We probably need to handle this better for this particular scenario, but with the pending release of Chocolatey vNext which is based on C# rather than PowerShell, and the subsequent re-write of ChocolateyGUI to use that, I think this problem will go away.

Powershell as admin is how I have always ran the command line chocolatey.

Powershell as admin is how I have always ran the command line chocolatey.

Hmm, I am really confused by what could be going on here.  I am going to have to take some time to look into this.

I'm using the command prompt window though, having same situation as far as I understand.
Regards & respect

The problem persists even after full reinstall of choco and its' GUI.
While trying to install a any package, status box gets covered in red text that disappears too fast to read.
Regards & respect.

Esamo,
Can you please confirm what version of Chocolatey you are using, and also what version of ChocolateyGUI?
Also, can you grab a screenshot of the error that you are seeing?
Thanks
Gary
Sent from my Windows Phone

From<EMAIL_ADDRESS>Sent: 14/03/2015 08:16
To<EMAIL_ADDRESS>Cc: Gary Ewan<EMAIL_ADDRESS>Subject: Re: [ChocolateyGUI] Unstable version won't install (#203)
The problem persists even after full reinstall of choco and its' GUI.
While trying to install a any package, status box gets covered in red text that disappears too fast to read.
Regards & respect.

Reply to this email directly or view it on GitHub:
https://github.com/chocolatey/ChocolateyGUI/issues/203#issuecomment-80126776

ChocolateyGUI version 0.12.3
Chocolatey version <IP_ADDRESS>
Eventually I managed to capture the error and adjust contrast to read. There it is:

I have to research that on my own or You guys know what how to fix that and if will this mess the security?

Honestly no offence, but what is the point of displaying error for a nano second?

Also I found out that GUI searches for packages way faster (maybe up to 10x) than the command prompt, while GUI is not working for me, it would be nice to know how to speed up choco search results. Does it ask a server for results or search through downloaded database?

Regards & respect


MM-30355: Cypress/E2E: Automate backlogs - Account Settings > Username (6 test cases)

Summary
Cypress/E2E: Automate backlogs - Account Settings > Username (6 test cases)
Ticket Link
https://mattermost.atlassian.net/browse/MM-30355

/update-branch

Error trying to update the PR.
Please do it manually.

@catalintomai  or @saturninoabril Sorry for the delay in testing this. Seem master can not merge into the branch automatically anymore.
All tests work and run green. Could one of you please review this merge issue ☝ and advise if this need another test pass after?

@catalintomai or @saturninoabril Sorry for the delay in testing this. Seem master can not merge into the branch automatically anymore.
All tests work and run green. Could one of you please review this merge issue ☝ and advise if this need another test pass after?

@DHaussermann , I merged and hardened a bit the last test, please give it another test pass to make sure.


implement femnist dataset generation

Implemented FEMNIST dataset from leaf generation.

Please format it to align with the existing data sets generating codes.


[New Port Request]

Library name
mp++
Library description
mp++ is a C++11/14/17/20 library for multiprecision arithmetic
Source repository URL
https://github.com/bluescarni/mppp
Project homepage (if different from the source repository)
https://bluescarni.github.io/mppp/
Anything else that is useful to know when adding (such as optional features the library may have that should be included)
License is Mozilla Public License 2.0
Here are some options from the CMAKE file that can be turned into optional features, but they might require additional dependencies :
option(MPPP_WITH_MPFR "Enable features relying on MPFR." OFF)
option(MPPP_WITH_ARB "Enable features relying on Arb." OFF)
option(MPPP_WITH_MPC "Enable features relying on MPC." OFF)
option(MPPP_WITH_QUADMATH "Enable features relying on libquadmath (e.g., the real128 type)." OFF)
option(MPPP_WITH_BOOST_S11N "Enable features relying on the Boost.Serialization library." OFF)
option(MPPP_WITH_FMT "Enable support for the fmt library." OFF)
option(MPPP_TEST_PYBIND11 "Build tests for the pybind11 integration utilities (effective only if MPPP_BUILD_TESTS is TRUE, requires pybind11 and Python).")

I’ve added an issue in mppp repo to ask for some help.


algo_ds_101 => Data Structures => Graph_Algorithms => Youngest Common Ancestor #1174

Assigned Issue Number ?
#1174
Language Opted ?
Python
Number of files added or updated ?
2
Name of these files ?
algo_ds_101 => Data Structures => Graph_Algorithms => Youngest Common Ancestor => youngest-comm-anc.py
algo_ds_101 => Data Structures => Graph_Algorithms => Youngest Common Ancestor => QUESTION.md
example :
Algorithm => Search_Algorithm => Linear_Search => Linear_Search.py
Checklist

[x] I've read the contribution guidelines.
[x] I've referred the correct issue number.
[x] I've fill up this entire template correctly.

Invalid request as it considers multiple changes


Better instructions on how to use

from the README, I know what this is and what this does, but no idea how to get it going and how to connect it to serverless-offline. Could you provide additional details/instructions?
For example, in the readme, you say you can set it up as the route to hit which will send to your sns receiver, but don't say how to do that.

I tried to use the plugin without success :
1- I downloaded the code and integrated into my project as local np mdependency
"devDependencies": {
"serverless-offline": "^3.13.3",
"serverless-offline-sns": "file:./lib/serverless-offline-sns",
}
2- I had to remove the peerDependencies from the plugin package.json. Otherwise Yarn (or npm) does want to install it in my project.
3- fix the source code of the plugin: lib/server.js:57 : add 'localhost' as last possible value of the variable host from _connectionOptions
4 - run the yarn install
5 - declare the plugin in your serverless.yml
plugins:

serverless-offline-sns
serverless-offline

The plugin serverless-offline-sns must be declared BEFORE serverless-offline. Othewise the hook is not performed
Now the server starts locally but no sns message can be publish with sucess in offline mode.
Do you know which accountId we have to use in topicArn of my sns message ?
Here is where I am.

@schassande, @bgenchel, were you able to get this to work?  The readme file is bogus.

nope, gave up pretty quickly and moved on. Sorry :(
On Thu, Apr 20, 2017 at 2:05 PM, Valerie<EMAIL_ADDRESS>wrote:

@schassande https://github.com/schassande, @bgenchel
https://github.com/bgenchel, were you able to get this to work? The
readme file is bogus.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rockabox/serverless-offline-sns/issues/5#issuecomment-295913066,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFCUGfsD9cgy8zqjTR135x7BwBuiFBoCks5rx8iygaJpZM4Lor6i
.

@bgenchel @schassande @valeriemaite apologies for the very late response, this was a bit of an experiment we were going to be moving to use SNS for our Lambda functions and have since decided against this as an idea and we aren't going to be keeping this repo alive.


Update to correctly capture MAU/DAU across all instances of AuthService.

Current coverage is 36.53% (diff: 16.66%)

Merging #186 into develop will decrease coverage by 0.04%

@@            develop       #186   diff @@
==========================================
  Files           259        259
  Lines         14015      14015
  Methods           0          0
  Messages          0          0
  Branches       2346       2346
==========================================
- Hits           5126       5120     -6
- Misses         8175       8180     +5
- Partials        714        715     +1

Powered by Codecov. Last update a176886...4136bce


useref handson submission

USEREF HANDS ON SUBMISSION

Metric
Value

alert_status
b:white_check_mark: OK/b

bugs
0

code_smells
0

reliability_rating
A (0 Bugs)br/Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)br/Note: A being best, E being worst

vulnerabilities
0


How can I increase the number of block packaging transactions?

server :Ubuntu 18.04 LTS
[Opera.Emitter]
VersionToPublish = "1.0.0-rc.0"
I tried to use 110 address cycles to send 600 transactions to the go-lachesis chain within 2 seconds, but the speed of packing blocks on the chain is not fast, and the maximum number of block packing transactions is only a few dozen. For 600 transactions, it will take 5-6 seconds to complete the processing. I can't test the effect of hundreds or even thousands of tps.

@Ten-Ou If you are interested, please do it our testnet or set up a private testnet to try.


[Bug]: cnpg status cannot show physical backup status initiated by cnpg

Is there an existing issue already for this bug?

[x] I have searched for an existing issue, and could not find anything. I believe this is a new bug.

I have read the troubleshooting guide

[x] I have read the troubleshooting guide and I think this is a new bug.

I am running a supported version of CloudNativePG

[x] I have read the troubleshooting guide and I think this is a new bug.

Contact Details
<EMAIL_ADDRESS>Version
1.24.0
What version of Kubernetes are you using?
1.31
What is your Kubernetes environment?
Cloud: Azure AKS
How did you install the operator?
YAML manifest
What happened?
PostgreSQL Implementation Detail:
Backups started with pg_backup_start do not appear in the pg_stat_progress_basebackup view.
Behavior observed:

Manually created backups of type barmanObjectStore do not appear under Physical Backups in the kubectl cnpg status view.

Cluster resource

Relevant log output

Code of Conduct

[x] I agree to follow this project's Code of Conduct

I think that we could set the application_name to include the name of the backup so we could extract the in-progress backups using a query to check against running queries. I haven't found a way to monitor the progress of these backups though.

Somewhat related: https://github.com/cloudnative-pg/cloudnative-pg/pull/5998


correct command layout for using chia-plot

Hi,
can we have a dummy example
chia_plot -t /big_store/ -t2 /media/ramdisk/ -r 12 -p........
terminate called after throwing an instance of 'cxxopts::option_requires_argument_exception'
what():  Option ‘t’ requires an argument

it actually -2 (not -t2).

blind bastard.....;-)
might be better to call them something normal like
-t1 & -t2
thanks

it's the same as chia plot ...

nothing beats taking a bad idea and propagating it......

Hi
I have this 'command not found' , what is wrong with this?
chia_plot -p 8c6179b13845fb9bd1a00750d6519a9a3404ccae7bb1c721deddfedb2a8f837e912e47275f19dbfcb87ce834a465ef47 -f a58b321b5c8e117d4b2550ace8e217088cd476f050e3d5ba1dc62ae36868d7wd65d79059b882dc0a43c8fbeb11215bf2 -t /media/chris/WD 10Tb Hdd Temp/ -2 /media/chris/WD 1Tb Green/ -d /media/chris/WD 10Tb Hdd Plot/ -n 1 -r 20

you may need teh " full path" for "chia_plot"
like {something here}/build/chia_plot

Still can't get it sorry, I copy the whole thing:
chris@chris-X9AR7-E-J-LN4F:~/chia-plotter/build$ chia_plot -p 8c6179b13845fb9bd1a00750d6519a9a3404ccae7bb1c721deddfedb2a8f837e912e47275f19dbfcb87ce834a465ef47 -f a58b321b5c8e117d4b2550ace8e217088cd476f050e3d5ba1dc62ae36868d7wd65d79059b882dc0a43c8fbeb11215bf2 -t /media/chris/WD 10Tb Hdd Temp/ -2 /media/chris/WD 1Tb Green/ -d /media/chris/WD 10Tb Hdd Plot/ -n 1 -r 20
chia_plot: command not found

don't screw about with ~
go to the directory where "chia_plot" is located
do .
pwd and insert that into teh path

Thanks alot, and sorry for being a noob.
Its getting better, now I get passed that stage. This is the new error I got:
Invalid : /media/chris/WD (needs trailing '/' or '')
Any idea what is wrong again?

i do it mysellf ALL the time
you are missing the trailing "/'
ALSO!!!!!
watch our for devices with spaces in
like:
/home/bob/this is bobs folder
linux uses spaces to separate arguments in commands
you can have a really shitty day
if you are using "del" with such things
you may need
-t "/media/chris/WD 10Tb Hdd Temp/"
-2 "/media/chris/WD 1Tb Green/"
to tell linux DONT start to reparse at the spaces
WD_1Tb_Green
or
WD-1Tb-Green
is WAY safer for a directory name

Yep - you need to write "/media/chris/WD/" not "/media/chris/WD" . Note the slash at the end.

Yes it finally works, thank you guys for your help!!!


Rsync options in upload are not being interpreted

Hi,
I have a task that runs upload,the task keeps failing because rsync tries to preserve owners and groups by default. I tried adding more options using the third parameter given in upload but then the command that is executed does not include any of the options I specified as seen below.
desc('Uploads compiled files built locally to the server');
task('upload-files', function () {
    // rsync("pub/static", "{{release_path}}/pub/static");
    upload(
        'pub/static/',
        '{{release_path}}/pub/static/',
        [
            "no-g",
            "no-a",
            "recursive",
            "links",
            "super", // receiver attempts super-user activities
            "delete", // delete extraneous files from destination dirs
            "force",
        ]
    );
});

bazara on  master [$✘!?] via 🐘 v7.2.19 took 7s
➜ dep upload-files --hosts=staging_01 -v
➤ Executing task upload-files

In Process.php line 239:

  [Symfony\Component\Process\Exception\ProcessFailedException]
  The command "rsync -azP -e 'ssh -A' 'pub/static/' '<IP_ADDRESS>:/var/www/bazara/releases/20190920125325/pub/static/'" failed.

I think the rsync options need to be nested under "options" key, look at rsync utility function in
deployer/Rsync.php @ line 42:
https://github.com/deployphp/deployer/blob/0b2179632c8857db160e5fe8a3efb0a3da647da6/src/Utility/Rsync.php#L42
$rsync = "rsync -azP " . implode(' ', $config['options']) . " $escapedSource $escapedDestination";

Thanks!

I'm also struggling with this one, I've tried to use the following syntax, but the options aren't applied to rsync. Can you help me on the correct syntax? Thanks!
upload($tmpFilename, '{{release_path}}/sites/{{site}}/local.settings.php', ['options'=> ['inplace']]);

@tmsss You need to use ['options' => ['--inplace']] instead, thus a raw CLI option.


Seq tests added

Current coverage is 90.99%

Merging #937 into master will increase coverage by +0.71% as of 2658c08

@@            master    #937   diff @@
======================================
  Files           80      80
  Stmts         8815    8815
  Branches      1745    1745
  Methods          0       0
======================================
+ Hit           7959    8021    +62
- Partial        212     213     +1
+ Missed         644     581    -63

Review entire Coverage Diff as of 2658c08

Powered by Codecov. Updated on successful CI builds.

thx!!


mqtt connect err: Connection not authorized(11)

连接服务器出现错误mqtt connect err: Connection not authorized(11)
检查了Product ID, Device UUID, Device Secret都应该没错。
请问还可以检查哪些地方调查这个问题？

我这也是这个问题，前面都正常，tls连接成功。就是mqtt这出错了

Hi @mike-2020
I have an issue in that I don't know how to get UUID and Device Secret. Could you instruct me to get it
Thanks


No weight decay in depthwise convolution

No weight decay in depthwise convolution
Motivation
In the original MobileNet paper they mention that it was important to put very little weight decay on the depthwise layers.
I suggest set to zero weight decay in depthwise convolution if some flag is True in config.
If you will decide this feature is important I can create PR.

Thanks for your kind suggestion.
We do have plans to support MobileNets and depthwise convolutions in the codebase, at that time we will make sure the performance is compatible with their original papers.


Set k8s environment variables based on config

The container environment variables are specified in the main config file. The kubernetes templates that are generated should use these user specified EVs instead of using hard-coded values.

Need to test this further before I mark it as ready, but this should be in decent shape as-is.

Finished testing. Ready to merge from my end.


[Mod Update] Rocket Sound Enhancement - Default

I made an error labeling the latest release. It says "1.2.3" it should be "1.2.2"

Mod name: Rocket Sound Enhancement - Default
Author(s): ensou04
License: CC-BY-NC-SA-4.0
Homepage: https://forum.kerbalspaceprogram.com/index.php?/topic/179579-wip110x-112x-rocket-sound-enhancement-v060-audio-framework-for-complex-sound-effects/
Download: https://github.com/ensou04/RocketSoundEnhancementDefault/releases/

Thanks for letting us know! We do have automated checks in place that ought to have caught this eventually, but it helps a lot to know exactly what you meant to do. The 1.2.3 version should be removed shortly...

thank you for the work!

1.2.2 has been added in https://github.com/KSP-CKAN/CKAN-meta/commit/c3280f49cceb30732fb6d34c881e777d707ba901


normalize ifdefs in our source included UTF8Json

Removes most of the compiler directives known to be false for the TFM's we publish.
Removes the need to define NETSTANDARD for our net41 TFM.

Have the NETSTANDARD directive blocks been tested on net461?

@russcam we used to define NETSTANDARD for all TFM's specifically to satisfy UTF8Json, main reason for this PR is to get rid of that constant definition.

ported to master


Add direct Jackson dependencies into Cosmos libraries

Description
Adds direct dependencies to Jackson libraries in Cosmos libraries to resolve an issue where due to the recent upgrade to Jackson 2.17.2 some of the Cosmos libraries could have dependency conflicts. This resulted in a few cases where, due to Maven transitive dependency resolution, Jackson Databind resolution could result with 2.17.2 but Jackson Annotation resolution could result with 2.13.5. This would then result in a LinkageError as Jackson Databind beyond 2.15.0 depend on an API added to Jackson Annotation 2.15.0.
This is resolved by having the Cosmos libraries list a direct dependency on the Jackson libraries, and should make them more resilient to future upgrades to Jackson versions as they will own their own, direct, versioning story.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

/azp run java - cosmos

API change check
API changes are not detected in this pull request.


[$500]  Sign In - Unable to Sign In with apple account when user just signed out with google account

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.44-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4344769&group_by=cases:section_id&group_order=asc&group_id=229043
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Precondition: the apple and google emails should be different

Open app
Sign In with google
Sign Out
Sign in with apple

Expected Result:
User should be successfully signed in with apple account
Actual Result:
When user clicked on apple icon user signed in back to the google account
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/0b1597ec-17a9-49d7-8471-0f8532dd2d22
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f51417f38fb8ba4d
Upwork Job ID:<PHONE_NUMBER>232679424
Last Price Increase: 2024-03-14

I am having trouble recreating this (don't have an Apple account), so going to put "needs reproduction" on this

Think this may fall under Wave-9, so asked here.

Proposal  :
Problem:
A  user  cannot  successfully  sign  in  with  their  Apple  account  after  having  just  signed  out  of  their  Google  account.  Instead,  they  are  signed  back  into  their  Google  account.  This  issue  occurs  when  the  user  has  different  email  addresses  associated  with  their  Apple  and  Google  accounts.
Root  Cause:
The  root  cause  appears  to  be  improper  handling  of  session  data  when  transitioning  between  different  sign-in  flows.  Remnants  of  the  previous  Google  account  session  might  not  be  fully  cleared  out,  interfering  with  the  subsequent  Apple  sign-in  attempt.
Proposed  Changes:

Thorough  session  cleanup  on  sign-out:

Modify  Session.signOutAndRedirectToSignIn  to  explicitly  clear  out  all  session-related  data  in  Onyx,  including  ONYXKEYS.SESSION  and  ONYXKEYS.CREDENTIALS.

Handle  new  user  sign-in  appropriately:

In  App.setUpPoliciesAndNavigate,  check  if  the  user  is  signing  in  as  a  new  user.  If  so,  clear  any  existing  policy  and  report  data  in  Onyx  before  setting  up  the  new  user's  policies.

Manage  navigation  transitions  between  sign-in  flows:

Update  Navigation.navigate  and  Navigation.dismissModal  to  clear  any  existing  sign-in  state  when  navigating  to  or  dismissing  a  sign-in  screen.

Address  potential  race  conditions:

Review  the  sign-in/sign-out  flow  to  identify  and  address  any  potential  race  conditions.

Verify  backend  handling  of  multiple  sign-in  accounts:

Ensure  the  backend  correctly  handles  the  scenario  where  a  user  signs  in  with  a  different  account  after  signing  out  of  another.

Replacement  Code:
1.  Session.signOutAndRedirectToSignIn:
function signOutAndRedirectToSignIn() {
    // Clear all session-related data in Onyx
    Onyx.set(ONYXKEYS.SESSION, null);
    Onyx.set(ONYXKEYS.CREDENTIALS, null);

    // Redirect the user to the sign-in page
    Navigation.navigate(ROUTES.SIGN_IN);
}

2.  App.setUpPoliciesAndNavigate:
function setUpPoliciesAndNavigate(session) {
    const currentUrl = getCurrentUrl();
    const isLoggingInAsNewUser = !!session?.email && SessionUtils.isLoggingInAsNewUser(currentUrl, session.email);

    if (isLoggingInAsNewUser) {
        // Clear any existing policy and report data in Onyx
        Onyx.set(ONYXKEYS.COLLECTION.POLICY, null);
        Onyx.set(ONYXKEYS.COLLECTION.REPORT, null);
    }

    // ... rest of the function logic ...
}

3.  Navigation.navigate  and  Navigation.dismissModal:
function navigate(route = ROUTES.HOME, type) {
    if (!canNavigate('navigate', {route})) {
        return;
    }

    // Clear any existing sign-in state if we're navigating to a sign-in screen
    if (route === ROUTES.SIGN_IN || route === ROUTES.SIGN_IN_MODAL) {
        Onyx.set(ONYXKEYS.SESSION, null);
        Onyx.set(ONYXKEYS.CREDENTIALS, null);
    }

    linkTo(navigationRef.current, route, type, isActiveRoute(route));
}

function dismissModal(reportID, ref = navigationRef) {
    if (!canNavigate('dismissModal')) {
        return;
    }

    // Clear any existing sign-in state if we're dismissing a sign-in modal
    const state = ref.getState();
    const lastRoute = state.routes.at(-1);
    if (lastRoute?.name === SCREENS.RIGHT_MODAL.SIGN_IN) {
        Onyx.set(ONYXKEYS.SESSION, null);
        Onyx.set(ONYXKEYS.CREDENTIALS, null);
    }

    // ... rest of the dismissModal logic ...
}

This  proposal  provides  a  comprehensive  solution  to  the  issue,  addressing  the  potential  root  causes  and  offering  specific  code  changes  to  implement  the  fix.  I  believe  this  solution  will  effectively  resolve  the  problem  and  improve  the  user  experience.

@parasharrajat
Yes, I reproduced the issue and isolated the root cause. I think I  have a solution. Would you like to discuss the details?

@parasharrajat can you provide an update on @omarnagy91's proposal here? Are we good to move forward or does this need feedback/adjustment?

@parasharrajat can you please provide an update here by EOD? Otherwise, let me know if we need to assign another C+ — thanks!

I just attempted this as well and wasn't able to reproduce. Going to close this — @lanitochka17 if this issue pops up again, feel free to reopen!


feat: add glob flag

Fixes: #
Description

Add glob flag
Recommend disabling globbing in docs
[ ] remove strict runtime check for Node version

Two issues:
The version check fails (not sure why the message is repeated twice, either):
[ ERROR ] 2023-03-27T00:00:14.157Z NW.js v0.72.0 requires Node.js v19.3.0 but you are using Node.js v19.8.1.
[ ERROR ] 2023-03-27T00:00:14.157Z NW.js v0.72.0 requires Node.js v19.3.0 but you are using Node.js v19.8.1.

When using glob: false, something is undefined when attempting to copy srcDir to outDir:

All of the changes I needed to make, to get my app to build:

Disable the Node.js version check. Even with the right version installed, it was failing.

Disable all of the changes being made to CFBundleDisplayName. With these enabled, the resulting undefined.app won't run.

Disable automatic writing of package.json. I have already created an appropriate package.json, I don't want nw-builder to modify it.

This results in a file named undefined.app that will run. It appears that the name is incorrect, because pkg.name is undefined in my use-case.


Create FondazioneJAC.txt

Add new School
School WebSite:
http://www.fondazioneits.org
http://www.fondazionejac.org/
http://www.itsexperience.org
Software Course: http://www.fondazioneits.org/percorso/progettazione-e-sviluppo-di-applicazioni-informatiche/

@samuele794 Please provide us with an URL of a page or another proof (.pdf or a screenshot are OK) showing that the university recognizes the domain of fondazionejac.edu as an official email domain for the students.

@samuele794 You might miss my previous comment. Please reply.

@philipto we are currently proceeding with the creation of an official school certificate in which we specify the mail domains used by the school.

I would like to inform you that I just received the certificate from the  school for your reference .
Certificato per rilascio licenza[677].pdf

@samuele794 Thank you very much for the clarification! I appreciate your effort in obtaining such a paper. Pull request merged.

After carefully reading the procedure to add the school again we realized that we made a mistake in adding the new brenches.
We should have created them in this way: lib/domanis/org/fondazioneits/stu.txt and lib/domanis/org/fondazionejac/stu.txt
I'll personally strive to recreate them as indicated in the certificate.
Thank you for your patience.


Adding nftables sets doesn't work on WSL 2

Environment
Microsoft Windows [Version 10.0.19041.508]
Ubuntu 20.04
WSL 2

Steps to reproduce
After installing nftables (my version from repo: 0.9.3) and trying to configure named set in specified table - i'm getting an error.
$ sudo nft add table inet test_table
$ sudo nft add chain inet test_table test_chain {type filter hook input priority 0\;}
$ sudo nft add set inet test_table my_set {type ipv4_addr\;}
Error: Could not process rule: Operation not supported
add set inet test_table my_set {type ipv4_addr;}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expected behavior
The set must be created and displayed in listing (nft list ruleset)

Actual behavior
I got the following error: "Could not process rule: Operation not supported"

I also have the same issue.
Environment
Microsoft Windows [Version 10.0.19041.572]
Debian 10
WSL 2

There are some others vs. Ububtu's expected kconfig:
CONFIG_NF_TABLES_SET
CONFIG_NF_TABLES_NETDEV
CONFIG_NF_TABLES_ARP
CONFIG_NF_TABLES_BRIDGE

There are some others vs. Ububtu's expected kconfig:
CONFIG_NF_TABLES_SET
CONFIG_NF_TABLES_NETDEV
CONFIG_NF_TABLES_ARP
CONFIG_NF_TABLES_BRIDGE

Is this being addressed?  I can't run native docker without reverting back to legacy iptables, which I can imagine is not going to be around forever.  What is a longer-term path to run native docker?  Ticket 6655, which was closed as a dup of this, describes the symptoms/effect very well.

ping for this.

I have the same issue with Jammy

I am facing same issue in ubuntu-22.04 Jammy release. Docker does not start here, due to below error.
failed to start daemon: Error initializing network controller: error obtaining controller instance: unable to add
return rule in DOCKER-ISOLATION-STAGE-1 chain:  (iptables failed: iptables --wait -A DOCKER-ISOLATION-STAGE-1 -j RETURN: iptables v1.8.7 (nf_tables):  RULE_APPEND failed (No such file or directory): rule in chain DOCKER-ISOLATION-STAGE-1
(exit status 4))

@panktrip I had to do something similar to what was referenced in another ticket.
update-alternatives --set iptables /usr/sbin/iptables-legacy
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy

Thanks a lot @kobenauf .  This worked for me on Ubuntu-22.04 in WSL2.

I did what @kobenauf  advised. After running sudo dockerd it stuck on below. Any idea ??
INFO[2022-05-09T20:45:17.736479254+02:00] Daemon has completed initialization
INFO[2022-05-09T20:45:17.745085835+02:00] API listen on /var/run/docker.sock

If you are running into this problem from an RPM-based distribution, many of the fixes given may not work for you. Specifically, I ran into this issue using the AlmaLinux-8 distro running under distrod (to enable the use of systemd). I originally went down the path of trying to find and install the legacy version of iptables (xtables-legacy-multi) to use the same fix mentioned above; however, after spending many hours in (unsuccessfully) trying to find that package in non-Fedora yum repositories, I pivoted to fixing the issue in the kernel instead.
As referenced by @therealkenc, the issue of supporting the newer, nftables-based iptables is that the proper interfaces are not available in the standard WSL kernel; however, the interfaces exist in the code - they just need to be configured on / compiled in. Here is how I went about fixing the issue in AlmaLinux-8 (under distrod) starting from a fresh install:

Install requisite packages for building the kernel (thanks to this guide for pointing me in the right direction)

sudo dnf config-manager --set-enabled powertools
sudo dnf group install "Development Tools"
sudo dnf install ncurses-devel binutils-devel openssl-devel python39 dwarves

Clone the kernel repo: git clone https://github.com/microsoft/WSL2-Linux-Kernel.git kernel (note that the default checkout branch is probably what you will need, but run uname -r and make sure the version of kernel you have corresponds to the branch you are checked out to in the repo)
Configure the kernel build

cd kernel
cp Microsoft/config-wsl .config
make menuconfig
At this point, you are presented with a dialog text UI (TUI) that allows you to configure which modules are built into the kernel. Descend down into Networking Support → Networking options → Network packet filtering framework (Netfilter), and find any option having to do with nf_tables and enable it (including under the Core Netfilter Configuration sub-menu). I readily admit that I do not know which subset of these options is actually required for iptables using nf_tables to work, so I just blanket enabled them all.
(Optional) Exit back up to the top-level menu and go into General setup → Local version - append to kernel release, then change the name to something that reflects the kernel modifications (this is just to easily keep track of what kernel you are using at runtime)
Save and Exit back out of the menus

Build the kernel: make KCONFIG_CONFIG=.config -j $(nproc)
Copy the kernel outside of the VM: cp arch/x86/boot/bzImage /mnt/c/Users/<YOUR USER>/kernel
Follow the instructions for global WSL configuration to point to the kernel file you just copied
Shutdown WSL: wsl --shutdown
Re-launch your distro

At this point, if you performed the optional step to give a custom kernel postfix, you can run uname -r to ensure you are using the new kernel. If so, then try restarting the docker daemon (i.e. sudo systemctl restart docker) and confirm that it is up and running.
I realize this is a heavy-handed approach, but I hope it can help any folks using an RPM-based distribution until the problem is officially addressed either by docker or by the WSL standard kernel.
Secondly, I realize that RPM-based distributions have moved towards the use of podman, but I have seen reports of similar issues with iptables, especially when using sudo podman, so hopefully this can help in that scenario as well. As a side note, if you want to be able to install both podman and docker at the same time in AlmaLinux-8 (for example, to play nicely with Jenkins pipelines or if podman features are unstable), you can follow this guide to do so.

This worked for me running Rocky Linux in WSL2. Can't thank you enough, it's been causing me so many issues!

If you are running into this problem from an RPM-based distribution, many of the fixes given may not work for you. Specifically, I ran into this issue using the AlmaLinux-8 distro running under distrod (to enable the use of systemd). I originally went down the path of trying to find and install the legacy version of iptables (xtables-legacy-multi) to use the same fix mentioned above; however, after spending many hours in (unsuccessfully) trying to find that package in non-Fedora yum repositories, I pivoted to fixing the issue in the kernel instead.
As referenced by @therealkenc, the issue of supporting the newer, nftables-based iptables is that the proper interfaces are not available in the standard WSL kernel; however, the interfaces exist in the code - they just need to be configured on / compiled in. Here is how I went about fixing the issue in AlmaLinux-8 (under distrod) starting from a fresh install:
1. Install requisite packages for building the kernel (thanks to [this guide](https://kumekay.com/compiling-custom-kernel-for-wsl2/) for pointing me in the right direction)

   1. `sudo dnf config-manager --set-enabled powertools`
   2. `sudo dnf group install "Development Tools"`
   3. `sudo dnf install ncurses-devel binutils-devel openssl-devel python39 dwarves`

2. Clone the kernel repo: `git clone https://github.com/microsoft/WSL2-Linux-Kernel.git kernel` (note that the default checkout branch is probably what you will need, but run `uname -r` and make sure the version of kernel you have corresponds to the branch you are checked out to in the repo)

3. Configure the kernel build

   1. `cd kernel`
   2. `cp Microsoft/config-wsl .config`
   3. `make menuconfig`
   4. At this point, you are presented with a `dialog` text UI (TUI) that allows you to configure which modules are built into the kernel. Descend down into **Networking Support** → **Networking options** → **Network packet filtering framework (Netfilter)**, and find any option having to do with nf_tables and enable it (including under the **Core Netfilter Configuration** sub-menu). I readily admit that I do _not_ know which subset of these options is actually required for iptables using nf_tables to work, so I just blanket enabled them all.
   5. (Optional) Exit back up to the top-level menu and go into **General setup** → **Local version - append to kernel release**, then change the name to something that reflects the kernel modifications (this is just to easily keep track of what kernel you are using at runtime)
   6. Save and Exit back out of the menus

4. Build the kernel: `make KCONFIG_CONFIG=.config -j $(nproc)`

5. Copy the kernel outside of the VM: `cp arch/x86/boot/bzImage /mnt/c/Users/<YOUR USER>/kernel`

6. Follow the [instructions for global WSL configuration](https://docs.microsoft.com/en-us/windows/wsl/wsl-config#configuration-setting-for-wslconfig) to point to the kernel file you just copied

7. Shutdown WSL: `wsl --shutdown`

8. Re-launch your distro

At this point, if you performed the optional step to give a custom kernel postfix, you can run uname -r to ensure you are using the new kernel. If so, then try restarting the docker daemon (i.e. sudo systemctl restart docker) and confirm that it is up and running.
I realize this is a heavy-handed approach, but I hope it can help any folks using an RPM-based distribution until the problem is officially addressed either by docker or by the WSL standard kernel.
Secondly, I realize that RPM-based distributions have moved towards the use of podman, but I have seen reports of similar issues with iptables, especially when using sudo podman, so hopefully this can help in that scenario as well. As a side note, if you want to be able to install both podman and docker at the same time in AlmaLinux-8 (for example, to play nicely with Jenkins pipelines or if podman features are unstable), you can follow this guide to do so.

This worked for me running Rocky Linux in WSL2. Can't thank you enough, it's been causing me so many issues!

@panktrip I had to do something similar to what was referenced in another ticket.
update-alternatives --set iptables /usr/sbin/iptables-legacy
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy

This does not really solved the problem. Even though you get a pass for matching comment here, you may still hit error when matching conntrack

Docker and WSL2 : Rocky Linux 9
iptables -A test0-in -p tcp --dport 1111 -m state --state NEW -m recent --set
Warning: Extension recent revision 0 not supported, missing kernel module?
iptables v1.8.8 (nf_tables):  RULE_APPEND failed (No such file or directory): rule in chain
Any Advise please ?


error when call .request to payone_connect

Hi @phuesler, need help with this error please, I have to integrate the payone system into a rails app and I find it very hard to do based on their poor documentation, and as if this is not enough I got this error also.. have I missed something?
Thank you.
[1] pry(main)> payone = PayoneConnect.new('apikey', {mid: 12345, portalid: 3121, key: 'apikey', mode: 'test'})
=> #<PayoneConnect:0x0000000e685520
 @api_url=#<URI::Generic:0x0000000e685340 URL:apikey>,
 @request_data="mid=12345&portalid=3121&key=apikey&mode=test",
 @request_header={"Content-Type"=>"application/x-www-form-urlencoded"}>

[2] pry(main)> puts payone.request
URI::InvalidURIError: the scheme http does not accept registry part: :80 (or bad hostname?)
from /home/srosca/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/uri/generic.rb:214:in `initialize'

Base on your docs, first parameter in PayoneConnect.new should be api_key but it looks like it requires an url, when I changed it to server-api url I moved from the error above but got into another one that also might require your help, as you might know payone better.
Thank you.
[15] pry(main)> payone = PayoneConnect.new('https://api.pay1.de/post-gateway/', {mid: 12345, portalid: 1234, key: 'api_key', mode: 'test', request: 'createaccess', aid: 45678, productid: 3254, clearingtype: 'cc'})

=> #<PayoneConnect:0x0000000e6bf748
 @api_url=#<URI::HTTPS:0x0000000e6bf540 URL:https://api.pay1.de/post-gateway/>,
 @request_data=
 "mid=12345&portalid=1234&key=api_key&mode=test&request=createaccess&aid=45678&productid=3254&clearingtype=cc",
 @request_header={"Content-Type"=>"application/x-www-form-urlencoded"}>

[16] pry(main)> puts payone.request
{:status=>"ERROR", :errorcode=>"2005", :errormessage=>"PortalID not found or no rights", :customermessage=>"An error occured while processing this transaction (wrong parameters)."}

Hi,
I wasn't aware that people are still using this gem. The code that the documentation is in fact wrong, and that you have to pass in the endpoint.
As for the error message, it looks like the payone API is missing a param. You can pass in any missing param, the code will happily pass it on the payone.

Well, Patrick, I got a few messages in a row related to missing params, like the one below:
{:status=>"ERROR", :errorcode=>"1721", :errormessage=>"Parameter {productid} faulty or missing", :customermessage=>"An error occured while processing this transaction (wrong parameters)."}

so I managed to add all of the missing params, ending with PortalID not found or no rights message.
payone explains this as this:
2005   PortalID not found or no rights    Change PortalID

but I am sure I have the right portal id in params...
Anyway, if there is anything you can help with, please point me into a right direction, if not.. well, I'll just close this issue.
Thank you.

I'm sorry, I cannot help you here. The code is passing on all the parameters to payone in the HTTP request. It is possible that there is a problem with your payone credentials or that they changed their API in the past 6 years. I wouldn't know, because I have no access to their documentation.
Good luck.


Temporary debugging state for hosted wasm under visual studio code

I'll just temporary leave and close this for those in need.

For debugging the blazor wasm client in vs code, the below statement simply means
a.)  after you start the blazor stand alone server
b.)  you should go to the debug tab choose the launch option ".NET Core Debug Blazor Web Assembly in Chrome" (dropdown above) then run

After the app has started, start the browser using the .NET Core Debug Blazor Web Assembly in Chrome launch configuration (requires Chrome). To use Edge instead of Chrome, change the type of the launch configuration in .vscode/launch.json from pwa-chrome to pwa-msedge.

To make auto compile/build of the blazor wasm app. You can add the below to the .Server.csproj

  <ItemGroup>
    <Watch Include="..\Client\**\*.razor" Exclude="obj\**\*;bin\**\*" />
  </ItemGroup>

Then start the server app using dotnet watch run. This will recompile the entire project when the razor files has been changed

The auto generated .vscode/launch.json by vs code will generate a configuration that does not load debug symbols for the server app.

            "program": "dotnet",             "args": ["run"],
You can temporary fix this by changing it to
            "args" : [],             "program": "${workspaceFolder}/Server/bin/Debug/netcoreapp3.1/MyWasm.Server.dll",

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

ID: ec2f61c7-9f51-6735-e328-3c7b495d70c3
Version Independent ID: 4d06e565-282d-6387-aa90-cb2c2986d35a
Content: Debug ASP.NET Core Blazor WebAssembly
Content Source: aspnetcore/blazor/debug.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

watch is covered by a few engineering issues ...

https://github.com/dotnet/aspnetcore/issues/22219
https://github.com/dotnet/aspnetcore/issues/5456

Since it's still in design, we'll hold off on documenting anything for it at the moment. Readers can comment on the engineering issues if they have product unit feedback.


4x: Starting to flesh out SSVM integration

Currently waiting on feedback on https://github.com/xxDark/SSVM/pull/27 before moving forward

Did some rebasing on on 4x, opening a new PR with changes off of that changed work #721