🐞[Bug/Feature Request]: Logical Error on Food Donating Page and Proposal for Google Maps Integration

Description
On the Food Donating page of the SpoonShare app, there is a logical mistake in the location input field. Users are currently required to type their location, which allows for the entry of invalid or nonsensical text (e.g., "dlkfjskdafhkadhf"). This results in inaccurate and unreliable location data.
Comment
What I See: Users can type anything into the location input field without any validation. This could lead to entries that are not actual locations, such as random strings or gibberish.
Expected Behavior
What I Expected to Happen: Users should be able to specify their current location accurately and intuitively. Ideally, the app should provide a map-based interface (such as Google Maps) for users to pinpoint their location. This would prevent the entry of invalid text and improve the accuracy of the location data.
Video
https://github.com/sanika391/SpoonShare/assets/123234840/2f7afe57-1d75-43fa-a978-0e52ad1c0213
I hope that I have a capability to solve this problem.
Thank you.

Hello @sanika391 ,
My name is Gopinath, and I have a strong background in software development. If you're interested, you can view my work at the following repositories:

Helping Hand: GitHub
Stock Management: GitHub
Job Portal: GitHub

I am confident in my ability to make a significant contribution to your project. In particular, I believe I can successfully address the issue of the logical error in the location input and propose the integration of Google Maps for pinpointing locations within the SpoonShare project.
For more insight into my professional background and projects, please visit my profiles:
LinkedIn: Profile
GitHub: Profile
I am eager to explore the possibility of collaboration and engaging in meaningful discussions.
Warm regards,
Gopinath

Certainly! Here’s a comment addressing the issue, assigning the work, and expressing enthusiasm to work with the contributor:

Comment
Issue Description:
On the Food Donating page of the SpoonShare app, there is a logical mistake in the location input field. Currently, users are required to type their location manually. This setup allows for the entry of invalid or nonsensical text (e.g., "dlkfjskdafhkadhf"), leading to inaccurate and unreliable location data.
What I See:
Users can type anything into the location input field without any validation. This could result in entries that are not actual locations, such as random strings or gibberish.
Expected Behavior:
I expected users to be able to specify their current location accurately and intuitively. Ideally, the app should provide a map-based interface (such as Google Maps) for users to pinpoint their location. This would prevent the entry of invalid text and improve the accuracy of the location data.
Video Reference:
Donate_Food.mp4

Hi @igopi77,
Thank you for bringing this issue to our attention and providing a detailed explanation.
I'm pleased to assign you to this task. Your proposal to integrate a map-based interface like Google Maps for location input sounds like a perfect solution to ensure accurate and reliable data.
Feel free to start working on this enhancement. If you need any further information or assistance, don't hesitate to reach out. We are excited to have you on board and look forward to your contributions to the SpoonShare project.
Warm regards,
Sanika Chavan
Project Manager, SpoonShare
[https://www.linkedin.com/in/sanika-chavan-52457b236]

Hello @sanika391 This issue has been merged. Can please close this issue.


[docs] Update trailingZeroBitCount documentation

Document the required behavior for trailingZeroBitCount when the value is zero. Namely, in that scenario, trailingZeroBitCount should be equal to bitWidth.
Resolves SR-10657.

@stephentyrone @natecook1000

Should leadingZeroBitCount also be updated to say that a 0 value is equal to bitWidth?

@azoy leadingZeroBitCount doesn’t exist for non-fixed-width types, so it’s less of an issue, but sure.

@swift-ci smoke test

@natecook1000 I'm merging this, but please still review. We can make further changes if you want.


vscode can't format python file

Issue Type: Bug
I have installed the python ext, and pip install autopep8.
Then when I format the code with Alt + Shift +F or right click and select "format file", vscode just shows Formatting with autopep but doing nothing to my code.
VS Code version: Code 1.25.1 (1dfc5e557209371715f655691b1235b6b26a06be, 2018-07-11T15:43:53.668Z)
OS version: Windows_NT x64 10.0.16299

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (8 x 3600)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.88GB (10.60GB free)

Process Argv
C:\Program Files\Microsoft VS Code\Code.exe

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

vscode-language-pack-zh-hans
MS-
1.25.3

python
ms-
2018.6.0

Since it's caused by the Python extension, please report your issue to Microsoft/vscode-python so they can better help you.

https://github.com/Microsoft/vscode-python/


⚠ Bofrost.es has degraded performance

In e4b7d37, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1479 ms

Resolved: Bofrost.es performance has improved in b5dc742 after 9 minutes.


Submission (Group 31): 2313640_2213689_2312185_2212279_2312912

Description:

Below are the two algorithms we use to solve the CSP problem.

Column Generation: This algorithm is based on repeatedly solving the problem modeled in a discretized form as a linear programming (LP) relaxation. Using the dual solution values, new “columns” (cutting patterns) with negative reduced costs are generated. The iterative process stops when no more cost-reducing columns can be found, thereby producing a near-optimal solution for the 2D cutting stock problem.

Simulated Annealing: This algorithm starts from an initial solution (obtained using heuristics like First Fit Decreasing), and then attempts rearrangements, i.e., “neighbor” solutions by changing cutting positions. If a new solution is better, it is immediately accepted; if it is worse, it may still be accepted with a probability that decreases as the “temperature” lowers. This gradual cooling schedule helps the algorithm avoid being trapped in local minima and aims to find a near-optimal solution.

Results of our policy on the test data

Simulated Annealing
Column Generation

Average Runtime
117.61 s
80.79 s

Average trim loss
0.21
0.18

Please read the submission instructions carefully. Otherwise I could not merge your PR (0 grade for code).

Dear @martinakaduc,
I have tried to update my repository according to the instructions and also attempted to recover the missing file. However, I’m still not entirely sure what the issue might be. Could you please help me check my repository again and let me know what I might be missing or doing incorrectly?
Thank you very much for your time and support.


[bugfix] Ensure integer milliseconds for durations

There is an issue when using some arbitrary milliseconds as a duration and format as an ISO 8601 string.
Take a look at this example:
moment.duration({ms: 157115}).toISOString()

or
moment.duration({s: 157.115}).toISOString()

will returned PT2M37.11500000000001S instead of  PT2M37.115S.
As the original value gives only 3 decimal places in addition to ISO8601 Times's milliseconds.
PS. I also do an extra work by aligning some misalign export ;)

The actual problem is arise when I tried to show the time different as an ISO 8601 string.
let startTime = moment();

moment.duration(moment().diff(startTime)).toISOString();   // Decimal places occasionally appears and become more frequent in a long run

@spywhere actually I'm suggesting another fix. It looks like this._milliseconds has a non-integer value, that is causing your problem. Its better to ensure _milliseconds is rounded in the constructor (and kept integer during mutations), than to hack only the toISOString function.

This issue seem to be fixed since 2.19.0 (Fiddle with latest version) as my issue report from moment prior to 2.19.0 (Fiddle with 2.18.1)


WIP: v4-beta badges

I updated the badge docs to use the updated variations from the v4-beta docs.
- default
primary
+ secondary
success
danger
warning
info
+ light
+ dark

TODO:
badge-default class has been removed in v4-beta. badge-secondary seems to be the closest match, should reactstrap use that if no color prop is passed?

There is some discussion around defaulting things such as the color. I am for reasonable/sensible defaults (such as secondary). (At the very least, it should not default to default anymore.)

Also, just FYI #538 (which is pointing to the wrong branch) and #490 which may make all of the doc changes pointless 😀

@TheSharpieOne Damn! Alright, I'll close this out.


Cache Bing Maps sessions within the process

Within a single process, we should avoid repeatedly starting new Bing Maps sessions for the same layer. Instead, we should cache the session per key/layer.

Fixes #183

Fixed by https://github.com/CesiumGS/cesium-native/pull/237


Tensorboard profiling fails with jax

I get the following error when I follow the jax documentation for profiling using tensorboard:
Failed to capture profile: ; No such file or directory
The console output from tensorboard is:
2020-12-01 11:16:21.437665: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
TensorBoard 2.5.0a20201120 at http://<IP_ADDRESS>:6006/

One thing to note is that in order to make CUDA 11.1 work, libcudart.so.11.0 is a symbolic link to libcudart.so.11.1.74
I'm using CUDA 11.1 and CUDNN 8.0.5. I've tried this on using both the stable and nightly versions of tensorboard and the tensorboard profiling plugin.

@tomweingarten did you try with the versions recommended by @zhangqiaorjc here?

Thanks! Just gave those versions a try, unfortunately I'm still getting the same error. I should note I compiled jax and jaxlib from master so that I can use CUDA 11.1 and CUDNN 8.0.5

Hi @tomhennigan, will you be able to list the steps you've taken so far?
For example:

Update/uninstall CUDA (in Colab):

!apt-get --purge remove cuda nvidia* libnvidia-*
!dpkg -l | grep cuda- | awk '{print $2}' | xargs -n1 dpkg --purge
!apt-get remove cuda-*
!apt autoremove
!apt-get update

Install CUDA 11.1:

# Check that your version of Ubuntu on Colab is 18.04
!lsb_release -a

# Download CUDA 11.1 for Ubuntu 18.04
# (source: https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1804&target_type=deblocal
!wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
!sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
!wget https://developer.download.nvidia.com/compute/cuda/11.1.1/local_installers/cuda-repo-ubuntu1804-11-1-local_11.1.1-455.32.00-1_amd64.deb
!sudo dpkg -i cuda-repo-ubuntu1804-11-1-local_11.1.1-455.32.00-1_amd64.deb
!sudo apt-key add /var/cuda-repo-ubuntu1804-11-1-local/7fa2af80.pub
!sudo apt-get update
!sudo apt-get -y install cuda

Check the CUDA version:

!nvcc --version

Install cuDNN 8.0.6 by following https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html#installlinux (requires to be logged in to download).

Install TensorFlow nightly and TensorBoard profiler nightly
(Source: https://github.com/google/jax/issues/4427)

!pip install --upgrade tf-nightly tbp-nightly

Import JAX and JAX Profiler:

import jax
import jax.profiler

etc

I followed the advice of @qiuminxu 👋 (in Issue https://github.com/google/jax/issues/4427#issuecomment-714146672):

Profiler recently moved the data processing from TensorFlow data collection side into the TensorBoard. Data collection will generate a single .xplane.pb file, and TensorBoard will process and visualize the trace. These all lands in the recent nightly, the reported issue is caused by old version of profile plugin not able to visualize the new .xplane.pb format.
Can you try: pip3 install -U tf-nightly tbp-nightly in the same virtual env of your tensorboard and see if this works?

I get an error when trying to launch TensorBoard in Colab using either of the nightlies:

tf-nightly with tbp-nightly; or
tb-nightly==2.5.0a20201203 with tbp-nightly==2.4.0a20201203 and tf-nightly==2.5.0.dev20201203.

Here're the steps to reproduce this:

Check the CUDA version (10.1 in Colab) (!nvcc --version)

Install nightly versions of TF and TensorBoard profiler:

!pip install tf-nightly with tbp-nightly
# or try:
# !pip install --upgrade tb-nightly==2.5.0a20201203 tbp-nightly==2.4.0a20201203 tf-nightly==2.5.0.dev20201203 tensorboard-plugin-wit==1.7.0

Import a few things, start the JAX Profiler server, run some NumPy and JAX code, then launch TensorBoard:

import jax
import jax.profiler # !
import jax.numpy as jnp
import jax.random as random
from jax import jit, grad, vmap
import numpy as np

# Start the JAX Profiler server
server = jax.profiler.start_server(port=1234)

# Some NumPy and JAX code
np.random.seed(1)
elems = np.arange(1,1000000, dtype=np.float64)

@jax.profiler.trace_function
def jax_vectorized_f(elems):
  return vmap(lambda x: x**6)(elems)

%timeit jax_vectorized_f(elems).block_until_ready()

# Load the TensorBoard notebook extension
%load_ext tensorboard

# Start a TensorBoard server
%tensorboard --logdir logs

Output:
ERROR: Failed to launch TensorBoard (exited with 1).
Contents of stderr:
2020-12-04 22:34:16.046130: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/lib64-nvidia
Traceback (most recent call last):
  File "/usr/local/bin/tensorboard", line 8, in <module>
    sys.exit(run_main())
  File "/usr/local/lib/python3.6/dist-packages/tensorboard/main.py", line 75, in run_main
    app.run(tensorboard.main, flags_parser=tensorboard.configure)
  File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 300, in run
    _run_main(main, args)
  File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 251, in _run_main
    sys.exit(main(argv))
  File "/usr/local/lib/python3.6/dist-packages/tensorboard/program.py", line 291, in main
    return runner(self.flags) or 0
  File "/usr/local/lib/python3.6/dist-packages/tensorboard/program.py", line 307, in _run_serve_subcommand
    server = self._make_server()
  File "/usr/local/lib/python3.6/dist-packages/tensorboard/program.py", line 439, in _make_server
    deprecated_multiplexer,
  File "/usr/local/lib/python3.6/dist-packages/tensorboard/backend/application.py", line 149, in TensorBoardWSGIApp
    experimental_middlewares,
  File "/usr/local/lib/python3.6/dist-packages/tensorboard/backend/application.py", line 257, in __init__
    "Duplicate plugins for name %s" % plugin.plugin_name
ValueError: Duplicate plugins for name projector

Alternatively, if you run stable TensorBoard and TF in Colab (!pip install tensorflow tensorboard_plugin_profile), then %tensorboard --logdir logs opens a TensorBoard instance but the Profiler remains "empty" in my experience so far.

(Any help would be appreciated. cc @skye @mattjj @hawkinsp @jekbradbury @jakevdp)

Linking https://github.com/google/flax/issues/745 (a JAX profiling Colab in the works) - it may help

I'm guessing this issue is stale! I've verified that the profiler is working as recently as last week.
Sorry that we didn't address this in the issue sooner!


Stay dry

Added an amazing game. :space_invader:
Avoid the rain by moving right and left! :video_game:
FOR HOW LONG CAN YOU AVOID THE RAIN ?!?!!?!? :umbrella:

5.1 sec BEAT THAT!


List of shared libraries Elm is linked to

Quick Summary: Question about the list of shared libraries that Elm is using to build a minimal Docker image on top of the Elm executable.

Elm: 0.19.1
Docker Image: busybox:glibc

Additional Details
I am trying to create a Docker image for using the Elm executable in a portable way.
$ docker run aminnairi/elm elm init

In my quest to reduce the image size to the maximum possible, I have found the use of the busybox:glibc image quite useful since it is only 2 megabytes and I have successfully managed to do something similar with the Deno interpreter here using multi-stage building.
When I managed to successfully retrieve all libraries used by Deno and include them in the next stage, I didn't managed to do the same for Elm (even though I loved how the interpreter didn't just crash). The interpreter gave me a message like:
elm init
Hello! Elm projects always start with an elm.json file. I can create them!

Now you may be wondering, what will be in this file? How do I add Elm files to
my project? How do I see it in the browser? How will my code grow? Do I need
more directories? What about tests? Etc.

Check out <https://elm-lang.org/0.19.1/init> for all the answers!

Knowing all that, would you like me to create an elm.json file now? [Y/n]: y
-- PROBLEM LOADING PACKAGE LIST ------------------------------------------------

I need the list of published packages before I can start initializing projects,
so I tried to fetch:

    https://package.elm-lang.org/all-packages

But my HTTP library is giving me the following error message:

    InternalException (HandshakeFailed (Error_Protocol ("certificate has unknown CA",True,UnknownCa)))

Are you somewhere with a slow internet connection? Or no internet? Does the link
I am trying to fetch work in your browser? Maybe the site is down? Does your
internet connection have a firewall that blocks certain domains? It is usually
something like that!

I know that my connection is OK and that I am not behind a proxy. The problem must certainly be that the Elm interpreter is linked over some shared library (just like Deno, see link to the Dockerfile above).
After all that context setting, my question is: where can I get a list of all shared libraries that Elm is relying on? It would be very useful for me to use busybox:glibc for my next stage.
Thanks for your answers!

Try to install the certificate packages in your Docker container.
The package is often called "ca-certificates".
Note that the Linux elm binary is already portable, as it is completely statically linked.

Hi @rlefevre and thank you for your answer.

You are missing some CA certificates, not some shared library.

I see you are right I didn't install the ca-certificates just like I did with Deno. That was a mistake...

Note that the Linux elm binary requires no shared library at all, as it is completely statically linked.
It should run on a barebones kernel so you could just add it to an Alpine Linux container...

Oh I didn't know that! That's so cool to hear. Thanks for your suggestion, I'll use Alpine for the build stage as you suggested.
I have now managed to resolve this issue by looking at what the ca-certificates package does (which I didn't know, creates a bunch of files).
I have successfully copied the files into my final stage, which is using Busybox, and now HTTP requests are working as intended! :tada:
I guess I'll close this issue for now since my issue is solved. Thanks again for your help and details, it is really appreciated!


Postfix to Prefix Conversion

🚀 Feature
It will convert a postfix expression to prefix expression using stack in C.
Have you read the Contributing Guidelines on Pull Requests?
Yes
Motivation
I am a GSSoC'21 participant and would love to contribute to open source platform.
Pitch
As postfix to prefix conversion is not present in C repo, I would like to do it as a participant of GSSoc'21.

I can work on the same in C++ and python. @HarshCasper Please assign it to me

Hello,
I am GSSoC'21 participant and would like to work on this issue in C. Please assign it to me.

Hey, I'm gssoc'21 participant, I would like to give my hand in this project. Please assign this issue to me.

I also would like to work on this issue.
I request @anushkrishnav  to please /assign me this issue.

Please find a Unique problem and make an issue and assign it with the help on bot .
If the algo/ds exsist on our repo already we will close your PR so please take a look into it
Good Luck
@Diksha-11 @Dimple115 @btanisha

/assign


Bug: write_dataframe is not case and space insensitive, inconsistent behaviour

Describe the bug
If the dataframe has same element name with different case and space, the write_dataframe  is sometime aggregating
the values, sometime picking one or the other.
To Reproduce
Tested on a 2D cube with elements, Child1 and Value. attaching the code in the image. sample data

data = {'Sample Dim':['Child1','Child1'],
             'Measure':['Value','Value'],
             'Value':[12,15]
             }

data = {'Sample Dim':['Child1','Child    1'],
             'Measure':['Value','Value'],
             'Value':[12,15]
             }

data = {'Sample Dim':['Child1','child1'],
             'Measure':['Value','Value'],
             'Value':[12,15]
             }

Expected behavior
Every time the cube should have 27 (considering it will always aggregate duplicate entries), or the last record i.e. 15 (if not aggregating)
Version
TM1py [2.0]
TM1 Server Version: [e.g. 11.8]
Additional context
Add any other context about the problem here.

The cube has been manually cleared before each upload attempt.

Good catch! We need to address this


Transpiler applies scheduling when scheduling is not required

Environment

Qiskit Terra version: main
Python version:  3.9
Operating system:  OSX

What is happening?
The transpiler requires scheduling be applied to circuits for a backend if delays are present even if it has not requested. Current IBM backends replace all IDGate with delays making this a common problem. This is further complicated given that Qiskit's scheduling algorithm does not model the scheduling behaviour of backends (such as measurement grouping) and is incorrect.
It still used to be possible to use delays if they were a multiple of 16 as the backend.target.timing_constraints.pulse_alignment and backend.target.timing_constraints.acquire_alignment were the same. This is no longer the case for ibm_seattle.
Which has
>>> backend.configuration().timing_constraints
{'acquire_alignment': 16,
 'granularity': 8,
 'min_length': 16,
 'pulse_alignment': 8}

How can we reproduce the issue?
Execute
from qiskit import QuantumCircuit, transpile
from qiskit_ibm_provider import IBMProvider

provider = IBMProvider()
backend = provider.get_backend("ibm_seattle")

circ = QuantumCircuit(2)
circ.id(0)
circ.id(1)
tqc = transpile(circ, backend)

What should happen?
The program should transpile successfully.
Any suggestions?
Either relax the timing constraints of https://github.com/Qiskit/qiskit-terra/blob/3476ef065e507be880c205b44f77d56d2c44bccb/qiskit/transpiler/passes/scheduling/alignments/check_durations.py#L65 or update the default transpiler to not require this pass for just delays if scheduling is not specified.
Backends ensure that any circuit is valid to be executed, Qiskit does not need to do this.
It should be noted that:
```python
from qiskit import QuantumCircuit, transpile
from qiskit_ibm_provider import IBMProvider

provider = IBMProvider()
backend = provider.get_backend("ibm_seattle")

circ = QuantumCircuit(2)
circ.id(0)
circ.id(1)
tqc = transpile(circ, backend, scheduling_method="alap")

does transpile, but this should not be required for usage of the backend. The default options should be sufficient to transpile for the backend.
Note that IDGate is not a supported basis gate for IBM hardware anymore and has been deprecated in favour of delay operations, see here for how this has been implemented.

Related issue #8985

What would you consider ideal behavior for this use case (ignoring the delay is coming from a transpiler pass inside the ibm provider is adding but more generally)? The delays in this case has a duration of 120 which is not cleanly divisible by the acquire alignment constraint the backend is reporting so Qiskit can't be sure up front that the delay will result in a valid circuit that conforms to that alignment constraints in the target (short of scheduling). Although I guess we could add a check that there is no measurement on the qubits in question (like in this case) and skip the acquire_alignment check there, but that seems like more of an edge case specifically for this example than a general thing we'd expect to come up frequently. If you're saying the backend will ensure this alignment for us and qiskit doesn't need to do anything then we should update the backend to not report these alignment constraints. The job of the transpiler is to transform the circuit into something that conforms the constraints the target backend is reporting about itself. If we don't need to worry about this because the backend will fix this on job submission regardless of any delays now, then the backend shouldn't say there are alignment constraints and qiskit won't worry about this anymore. But, as long as there are reported alignment constraints the transpiler's job is to try and transform the circuit to conform to those. That's why IMO, I would just have the transpiler trigger scheduling instead of raising an error here. This should only come up if there is a an unaligned delay in the circuit and at least from my perspective if I did that as a user I would want transpile() to transform the circuit as needed to make it runnable which if I randomly put a delay on a qubit would mean scheduling it to ensure the timed circuit was valid for the backend.
That all being said I'm thinking a better short term workaround here is to have is maybe to look at restricting the custom ibm provider translation stage to only run when id is not in the target. Right now seattle is at least reporting it supports running id and just passing it through will work fine. Although, this isn't a real fix and we should definitely figure out a path forward to resolve this better in Qiskit which I think is two steps:

Fixing scheduling so it's respecting all the constraints reported by a backend
Updating the preset pass managers to run scheduling in cases when a delay is inserted that we need to schedule to be sure it's conforming with the delay (instead of erroring)

But I expect that'll be a longer change that probably won't be something we can accomplish in 0.24.0. But updating the provider to only run the id -> delay conversion pass if id is not in the supported operations seems like an easier thing to do short term.

IIRC the implicit validation for delay duration was motivated by T1 experiment, where experimentalists specified the delay in SI units and used to get backend error. However, in recent Qiskit Experiments, we implemented a logic to format delay vaues with these backend constraints (to be multiple of GCD of pulse and alignment constraint), before assigning a value to a circuit. Note that this approach is much more reasonable because we can use modified delay values for data analysis, i.e. T1 curve fitting.
From Qiskit Experiment perspective, disabling the duration check should be fine in practice. Note that if they write T1 experiment without using the framework, they may encounter frustrating backend error after long queue. However, basically I agree with Matthew. We should validate duration as long as backend provides some constraints.

@mtreinish

The job of the transpiler is to transform the circuit into something that conforms the constraints the target backend is reporting about itself. If we don't need to worry about this because the backend will fix this on job submission regardless of any delays now, then the backend shouldn't say there are alignment constraints and qiskit won't worry about this anymore

yes, and this has always been the case. The missing application of scheduling was only an issue for backends in two cases.

Where delays are nonimplementable (ie., an improper conversion from SI to dt samples)
Where the user explicitly requests scheduling of their circuit (which as highlighted in other issues is broken regardless for our backends).

For case 1. the current scheduling passes are overconstraining (and incorrect). For case 2. this should be opt-in and not required by default (especially for case 1. as scheduling is predominantly being used for).


Creating additional disks

Is it possible to create instances with multiple disks created / attached?

Hi @porviss!
Thanks for pointing this out!
This is not currently possible, however, looking at the code in run_instance action it could be implemented without changing the current logic, since a disks array is actually passed to fog config:
defaults = {
    ...
    :disks               => [disk.get_as_boot_disk(true, autodelete_disk)],
    ...
            }

I :heart: feedback, so can you describe your use-case a bit? What do you want to use multiple disks for and how? That may help the implementation, since I haven't run into the need myself before.
Cheers,
A.

Hi @Temikus
Thank you for your response :-)
In most cases I only need a single drive, but In this case I am trying to replicate an existing Hadoop cluster setup I have which has the OS on one drive, and storage on another. So basically its just to keep the data separate from the OS drive, which makes it easier to export and attach to another instance, or download for local use.

@porviss
I see. Just to claridy:
Do you plan to use local_ssd resources or just attach a second standard disk?

In this case it would be just a second standard disk. Later on though it
may be beneficial for using local ssd due for the sake of performance but
haven't really thought that far ahead.
On Mon, Aug 17, 2015 at 5:57 PM, Artem Yakimenko<EMAIL_ADDRESS>wrote:

@porviss https://github.com/porviss
I see. Just to claridy:
Do you plan to use local_ssd
https://cloud.google.com/compute/docs/disks/local-ssd resources or just
attach a second standard disk?
—
Reply to this email directly or view it on GitHub
https://github.com/mitchellh/vagrant-google/issues/102#issuecomment-131872368
.

Old feature request but +1 for it. This helps make GCE provisioning more like AWS. Any database system should be using a separate drive for data storage.

Hi all I am having the same issue I am trying to migrate vagrant/aws to vagrant/gcp but need multiple disks provisioned for data nodes.
Zoltan

I'm considering implementing this new feature. Just want to get some feedback from people on how they envision this working.
Here are some thoughts ...

allow creating one or more new persistent disks
persistent disks can be type standard or SSD (no local SSD support)

Here are some questions ...

do we want to support attaching existing disks to the GCE instance?
if we need support for attaching existing disks what should be the default behaviour when destroy is run? (delete the disks or keep them)
do we want to have a config option for controlling the deletion behaviour? similar to the autodelete_disk config option for the root disk.
do we need a config option for selecting the mode for the disk(read/write vs read only)?

I think the new config option would be an Array of Hashes to allow easily adding support for some of these feature in the future.
Maybe something like below.
google.additional_persistent_disks = [{:type => 'ssd', :size => 200, mode => 'rw', delete => false, :name => 'my_awesome_new_disk'}]

@seanmalloy on your questions

It depends. Do you have a good use-case? I was thinking about this but I failed to come up with one. People did request adding snapshots though #176, so if we can reuse the logic - why not?
If we're creating new ones - delete (follow the default behavior). If attaching an existing one - keep.
Probably yes.
Depends if there is a use-case. If it's only for creating new disks, unless there's an image/snapshot involved read-only is probably not going to be very useful. Or am I missing something?

Let me know on your thoughts.

My use case is quite simple, I want to use an ansible playbook that installs Zenoss on a second HD (https://github.com/sergevs/ansible-serviced-zenoss) and fails without it. I went looking for how to add the second disk and found this enhancement.
Immediately, my requirement is exactly as you describe @seanmalloy.
And while obvious in this context and essentially mirroring @Temikus' answers, mine are:

Not yet
Delete new, keep existing.
Yes.
Not at this stage.

Now to re-work the playbook so I don't need the second disk, or maybe I'll just manually add a disk to the instance to get moving.

For a similar use case, where we want to a secondary disk for our storage node machine, I am trying to implement this feature.
Base on @Temikus , this implementation should be pretty straight forward by adding a 2nd well-configured disk to disks list as follow
disks = [disk.get_as_boot_disk(true, autodelete_disk), second_disk.get_object(true, false, nil, autodelete_disk)]

Below are source code of get_object() and get_as_boot_disk() from disk.rb
def get_object(writable = true, boot = false, device_name = nil, auto_delete = false)
    ...
end
def get_as_boot_disk(writable = true, auto_delete = false)
  get_object(writable, true, nil, auto_delete)
end

Unfortunately, get_object() was removed from fog-goole since version 1.0.0. Thus, there is no way to pass in a secondary "non-boot-disk".
If passing 2 boot disk, it will throw error with Invalid value for field 'resource.disks[1]': ''. Boot disk must be the first disk attached to the instance. (Google::Apis::ClientError)
I don't see a walk around unless we update disk.rb

@whynick1 I maintain fog-google as well, so feel free to CC me on the patch, I can quickly release and patch dependencies through.

@whynick1 Ok, looking closer this is already implemented in the lib. The method seems to have just moved to collection method attached_disk_obj
Example:
[6] pry(#<TestDisks>)> disk.get_as_boot_disk
=> {:auto_delete=>false,
 :boot=>true,
 :source=>"https://www.googleapis.com/compute/v1/projects/graphite-sandbox/zones/us-central1-f/disks/fog-test-1-testdisks-test-get-as-configs",
 :mode=>"READ_WRITE",
 :type=>"PERSISTENT"}
[7] pry(#<TestDisks>)> disk.attached_disk_obj(boot:true,writable:true)
=> {:auto_delete=>false,
 :boot=>true,
 :mode=>"READ_WRITE",
 :source=>"https://www.googleapis.com/compute/v1/projects/graphite-sandbox/zones/us-central1-f/disks/fog-test-1-testdisks-test-get-as-configs",
 :type=>"PERSISTENT"}
[8] pry(#<TestDisks>)> assert_equal(disk.get_as_boot_disk, disk.attached_disk_obj(boot:true,writable:true))
=> true

This is probably what you're looking for, right?

Actually looking into the instance handling logic:
https://github.com/fog/fog-google/blob/3741053202f7c856fbe9fa5ed715bd213f48e236/lib/fog/compute/google/requests/insert_server.rb#L20-L23
You should probably be able to just pass the disk object as it is, i.e.:
:disks               => [disk1, disk2]

Sorry for missing this :| I'll be in my shame cube if you need me.

Hi,
Still not clear what is the proper configuration for an additional, not bootable disk. This is what I have right now and it doesn't work
  config.vm.define "centos7-gcp" do |gcp|
    gcp.vm.box = "google/gce"

    gcp.vm.provider :google do |google, override|
      google.google_project_id = GOOGLE_PROJECT_ID
      google.google_json_key_location = GOOGLE_JSON_KEY_LOCATION

      google.image_family = "centos-7"
      google.name = "ansible"
      google.disk_size = 20
      google.zone = "us-central1-a"
      google.network = "shared"
      google.network_project_id = "12c34z2d3"
      google.subnetwork = "subnet"
      google.use_private_ip = true
      google.external_ip = false
      google.tags = ["allow-ssh"]
      google.additional_disks =  [{
        :image_project_id => GOOGLE_PROJECT_ID,
        :disk_size => 20,
        :disk_name => "google-additional-disk-1",
        :disk_type => "pd-standard",
        :autodelete_disk => true
      }]

      override.ssh.username = "user_name"
      override.ssh.private_key_path = "~/.ssh/id_rsa"
    end
  end

I am getting this error
==> centos7-gcp:  -- Metadata:        '{}'
==> centos7-gcp:  -- Labels:          '{}'
==> centos7-gcp:  -- Network tags:    '["allow-ssh"]'
==> centos7-gcp:  -- IP Forward:
==> centos7-gcp:  -- Use private IP:  true
==> centos7-gcp:  -- External IP:     false
==> centos7-gcp:  -- Network IP:
==> centos7-gcp:  -- Preemptible:     false
==> centos7-gcp:  -- Auto Restart:    true
==> centos7-gcp:  -- On Maintenance:  MIGRATE
==> centos7-gcp:  -- Autodelete Disk: true
==> centos7-gcp:  -- Additional Disks:[{:image_project_id=>"GOOGLE_PROJECT_ID", :disk_size=>20, :disk_name=>"google-additional-disk-1", :disk_type=>"pd-standard", :autodelete_disk=>true}]
/Users/$USER/.vagrant.d/gems/2.4.9/gems/vagrant-google-2.5.0/lib/vagrant-google/action/run_instance.rb:106:in `call': undefined method `self_link' for nil:NilClass (NoMethodError)
	from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/action/warden.rb:57:in `call'
	from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/action/builtin/before_trigger.rb:23:in `call'
	from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/action/warden.rb:57:in `call'
	from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/action/builtin/after_trigger.rb:26:in `call'
	from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/action/warden.rb:57:in `call'
	from /Users/$USER/.vagrant.d/gems/2.4.9/gems/vagrant-google-2.5.0/lib/vagrant-google/action/warn_ssh_keys.rb:28:in `call'
	from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/action/warden.rb:57:in `call'
	from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/action/builtin/before_trigger.rb:23:in `call'
	from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/action/warden.rb:57:in `call'
	from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/action/builtin/after_trigger.rb:26:in `call'
	from /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/action/warden.rb:57:in `call'
	from /Users/$USER/.vagrant.d/gems/2.4.9/gems/vagrant-google-2.5.0/lib/vagrant-google/action/warn_networks.rb:28:in `call'

Nevermind, found the problem
leaving this example as a reference.


Update README.md file in detail

Also added some more contents

C Programs
C++ Programs
Java Programs
JavaScript
Python Programs

Addes some contents in details


Support tl.debug_barrier

I don't think this is super high pri since it seems intended as a pure debugging aid, but Inductor does generate barriers in its kernels to deal with this issue: https://github.com/triton-lang/triton/issues/1615.

Closed by #89.


The usage of WalletConnect.

What's the purpose of using walletconnect?
I want to know about walletconnect and usage of it

WalletConnect is a single-integration, open-source protocol. Developers can use WalletConntect to enable users from 166 wallets to log into decentralized applications they've created. These applications, also known as dApps, are apps hosted on decentralized networks like the EVM.
WalletConnect has enabled an explosion of creativity in wallet design and features by making it effortless for developers to open their apps up to users of all kinds of wallets. This protocol is symbolic cryptocurrency's ethos in decentralizing power and enabling new experiences for users.


Create ChatBot.py

a basic chatbot to add in website or an app to get connected.

@A11bert
Let me be clear, first you need to read Contributing.md which is the contributing guidelines in the repository.
You will get proper instructions there.
We are neglecting this now, but in the future, you need to make a issues, then allow us to assign you the issue before you start working and submit a PR. Not following this process will require us to close your pull request.
This is outlined in the contributing guidelines.

@A11bert
I've converted this issue in a draft PR, others will just mark it as spam. We really want you to merge the PR, so just make a issue and tag me there for assigning.

Also, the contribution is not proper for LinksHub. Let's discuss in the issue.

@A11bert you must read & follow our CONTRIBUTING guidelines before making any contribution. As @Anmol-Baranwal mentioned above, we appreciate your time and efforts but please raise the issue first. I'm closing this PR for now, please feel free to raise another PR when you're done.


[YUNIKORN-814] The template of non-leaf queue should not be override …

…by template of parent
What is this PR for?
This is a bug introduced by YUNIKORN-193. The non-leaf queue get template from conf but the template is override when it is added to parent queue.
What type of PR is it?

[x] - Bug Fix
[ ] - Improvement
[ ] - Feature
[ ] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-814
How should this be tested?
Screenshots (if appropriate)
Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

@wilfred-s Could you please take a look? the docs (https://github.com/apache/incubator-yunikorn-site/pull/73) is updated so this PR is required now :)


Fix bug in fuzzer with deny_unknown_fields structs inside flatten

Is it a good or bad sign we're now back to finding bugs in the fuzzer itself? Anyways, this one should be fixed now ...
* [ ] I've included my change in CHANGELOG.md

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (a6fc5eb) 100.00% compared to head (5cba8bd) 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##            master      #517   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           82        82
  Lines        14327     14327
=========================================
  Hits         14327     14327

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


docs: example of prepopulated search

What I did
Example is here https://wpds-ui-kit-git-prepopulated-search.preview.now.washingtonpost.com/components/input-search#:~:text=Pre populated results

This definitely accomplishes the demo, it exposes some underlying oddness with the component.

Clearing the search with the X button does not keep the popover open with the full list

Screen.Recording.2023-09-19.at.2.41.27.PM.mov
2. After entering text unfocusing and refocusing the input, the dropdown contains the full list and not the filtered list. Then editing the text jumps to the filtered version.
Screen.Recording.2023-09-19.at.2.41.27.PM.mov
I think these are outside the scope of the ticket, but worth bringing up.

Definitely worth logging. I experienced some of this oddness in the implementation on the /search page.


Input types that clash with field names are overwritten

Describe the bug
Input type names that clash with the root query/mutation key are overwritten with the return type, meaning that variables on the component will no longer be typed to the input:

To Reproduce
Schema:
##### included just to satisfy the parser
type Query {
  ignore: Boolean
}

schema {
  query: Query
  mutation: Mutation
}
##### /included just to satisfy the parser

input Login {
  email: String!
  password: String!
}

type LoginResult {
  success: Boolean
}

type Mutation {
  login(input: Login!): LoginResult!
}

Document:
mutation LoginMutation($input: Login!) {
  login(input: $input) {
    success
  }
}

Config:
generates:
  client-types.tsx:
    - typescript-common
    - typescript-client
    - typescript-react-apollo

Expected behavior
For the type generated to avoid overwriting previously defined types.
e.g. instead of:
export type Login = { // <-- Note this is just `Login` and not `LoginResult`, due to the `login()` key
    __typename?: "LoginResult";
   success: Maybe<boolean>;
}

... I'd expect it to match either the original return type, or some combination of key + return type
export type LoginResult = { // <-- Same name
    __typename?: "LoginResult";
   success: Maybe<boolean>;
}

... which would then avoid shadowing the Input interface type already defined outside of the LoginMutation namespace:
export interface Login {
  email: string;
  password: string;
}

Schema/Documents
See above
Environment:

OS: macOS 10.14.3
Codegen: ^0.16.1
Node: v11.8.0

Additional context
This is easily solved in the GraphQL server, by ensuring no identifiers clash. However, it's not always feasible to make changes (especially if you don't control the server), so I believe it makes sense for gql-gen to work around it.
This is possibly solved by namingConvention, but I didn't see anything obvious out-the-box to solve it other than deferring to a separate module.
I've seen a number of issues related to naming conventions, so this may well be related to some of them.
Perhaps it makes sense to have some kind of global identifier check. Before outputting a name, a suffix could be added... for example, LoginField in this case, or a numeric increment.

@leebenson thank you for reporting it. It's definitly a bug.
I'm not sure we can address this easily (without breaking changes) because changing the name might effect all users of this template.
We are currently working on re-implementing the TypeScript template from scratch, and it might solve this issue as well (because we no longer need to generate inner interfaces inside namespaces).

Fixed in the recent refactor :)

Fix available in 1.0.0 👍


Previous commit was wrong, this one is correct. Pull request from "Institut Vidal i Barraquer". Thanks :)

Student from Catalonia, Spain.

@dalo675 I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host vidalibarraquer.academy not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


[CORE] Support pull out project for WindowExec

What changes were proposed in this pull request?

Pulling out pre/post-project for WindowExec.
Expression in WindowExpression will no longer cause a fallback.

How was this patch tested?
Enable Expression in WindowExpression that will fallback test case in GlutenSQLWindowFunctionSuite as not fallback case.

cc @ulysses-you, could you help review?

/Benchmark Velox

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_4663_time.csv
log/native_master_02_27_2024_94c8e7e0e_time.csv
difference
percentage

q1
33.29
33.59
0.302
100.91%

q2
24.77
24.40
-0.375
98.49%

q3
39.64
38.91
-0.733
98.15%

q4
36.32
36.13
-0.191
99.47%

q5
70.31
70.98
0.671
100.95%

q6
7.32
7.08
-0.237
96.77%

q7
84.24
84.44
0.201
100.24%

q8
84.92
86.39
1.467
101.73%

q9
124.14
121.48
-2.659
97.86%

q10
44.38
44.06
-0.316
99.29%

q11
20.44
19.96
-0.478
97.66%

q12
25.41
29.43
4.027
115.85%

q13
45.13
45.22
0.088
100.19%

q14
15.46
16.33
0.866
105.60%

q15
28.08
28.90
0.821
102.92%

q16
14.60
15.96
1.369
109.38%

q17
102.44
103.10
0.663
100.65%

q18
149.87
148.22
-1.648
98.90%

q19
12.66
12.53
-0.132
98.96%

q20
27.84
26.71
-1.124
95.96%

q21
223.49
224.21
0.715
100.32%

q22
13.58
13.66
0.083
100.61%

total
1228.33
1231.71
3.380
100.28%

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_4663_time.csv
log/native_master_02_27_2024_94c8e7e0e_time.csv
difference
percentage

q1
35.33
33.59
-1.742
95.07%

q2
24.58
24.40
-0.178
99.28%

q3
38.47
38.91
0.442
101.15%

q4
37.36
36.13
-1.229
96.71%

q5
70.85
70.98
0.137
100.19%

q6
5.44
7.08
1.643
130.20%

q7
83.93
84.44
0.512
100.61%

q8
84.33
86.39
2.053
102.43%

q9
125.46
121.48
-3.978
96.83%

q10
43.69
44.06
0.374
100.85%

q11
20.90
19.96
-0.935
95.53%

q12
28.86
29.43
0.572
101.98%

q13
45.60
45.22
-0.379
99.17%

q14
15.27
16.33
1.051
106.88%

q15
29.03
28.90
-0.131
99.55%

q16
13.94
15.96
2.027
114.54%

q17
102.68
103.10
0.425
100.41%

q18
150.51
148.22
-2.296
98.47%

q19
12.49
12.53
0.036
100.29%

q20
26.45
26.71
0.263
101.00%

q21
224.15
224.21
0.059
100.03%

q22
14.76
13.66
-1.095
92.58%

total
1234.08
1231.71
-2.367
99.81%


How to change cursor position when in normal/insert modes

Check for existing issues

[X] Completed

Describe the feature
Coming from VSCode. I had this setup where my cursor was not blinking ever.
And also I made it so cursor was horizontal when in normal mode

And vertical in insert mode like so:

How can I achieve same with Zed?

Hey @nikitavoloboev!
It's not currently possible to use a horizontal bar for normal mode (like vim's default, we use that to indicate "waiting for character" when you do something like f or t), luckily zed's insert mode default is also the vertical bar.
You can disable the blink with "cursor_blink": false in Zed settings.


include appium-selendroid-installer in this package/repo

as well as some tweaks to loosen up behavior when user doesn't have java stuff
cc @imurchie

LGTM. 💯  for getting rid of another module!

published as 1.4.0


build: add a build of ASN1 for SPM

SPM is growing a dependency on ASN1.  Add the build infrastructure for that and wire it up to the SPM build.

Please test with following PRs:
apple/swift-asn1#18
apple/swift-package-manager#6216
@swift-ci please build toolchain windows platform


feat: Order on the localization

Match https://github.com/leanprover-community/mathlib/pull/18724 and https://github.com/leanprover-community/mathlib/pull/18846

<EMAIL_ADDRESS>

bors merge
Thanks!


Dark mode Settings page has a white input field

Describe the bug
Dark mode Settings page has a white input field
Settings page
To Reproduce

Login
Navigate to the Settings page

Expected behavior
background-color of inputfield should match the css dark theme

I also see the white background for input fields in the "Wallet Info" page


Configured Angular proj to support Maven

My Angular project needed some file tree restructuring to be able to be run by the App Engine Maven plugin. Did the necessary restructuring, and then built the Angular project to ensure running it with Maven worked. As I change the Angular sources, will simply need to rebuild. All source files have been minified from the angular folder into the webapp folder (this includes all of the .js and .js.map files), which should take care of the clutter @ArunChauhan referenced in #5. The thousands of files simply come from restructuring and building the Angular project.

This seems like an overkill. You shouldn't have to commit thousands of files. There has to be a better way. Let me look into it.

Conflicts should be resolved once #8 is accepted


Add LDAP Server

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

Let me add some documentation before merging. Forgot about that.

Looks good - adding a ReadMe is my only feedback.
Tested the template in my isengard account, deployed successfully in a public subnet, but do not know what to do next without any setup instructions

I think we should include the setup instructions for both PC and SMHP as a separate PR.

What's needed here?

more documentation. It is coming.

@sean-smith minimal doc completed. Ready for your review.


Add methods to get details about pending transactions related to the current user's wallet

A new command should be added to show the list of pending transactions which belong to the current logged in account with pagination.
For example account list pending-transactions. This list can be fetched using ldposClient.getOutboundPendingTransactions(walletAddress, offset, limit).

added in 0f70a0f1c45a4a4e348cce1d259ed2de8a6c112c


Add repository link

Hi,
Thank you very much for your work on this crate. I noticed that the link to the repository was not in the Cargo.toml. Wasn't sure if it was intentional but decided to send a PR and ask at the same time. It was in the homepage so I was still able to find the repository but took me a bit more effort as it wasn't where I was expecting it to be.

Thank you, I will publish an update shortly.


Controllers in sub folders is not visable in list commands

What steps will reproduce the problem?

cd to project folder
Create test folder: mkdir ./commands/test
Create test controller in that folder ./commands/test/TestController.php:

<?php

namespace app\commands\test;

use yii\console\Controller;

class TestController extends Controller
{
    public function actionDo()
    {

    }
}

Run yii command to see all commands: ./yii

What is the expected result?
See test command in list
Working autocomplete
What do you get instead?
Test command do not exist in list of command but callable
./yii test/test/do
And autocomplete does not suggest commands in subfolders
Additional info

Q
A

Yii version
<IP_ADDRESS>

PHP version
7.1.11

Operating system
Linux 4.13.12-1

I think worth trying controllerMap


Support systematique @SerializedName annotation for Gson

gson uses @SerializedName("json_name") when the name of the json field and the name of the java field are different. (already present to do the snake case to camel case)
It is also useful when the java code is obfuscated and the name of the java field is modified.

This should already be supported. Could you explain more about how you're
using jsonschema2pojo? Are you using annotationStyle=gson?
On 25 Mar 2015 22:44, "smaspe"<EMAIL_ADDRESS>wrote:

gson uses @SerializedName("json_name") when the name of the json field
and the name of the java field are different. (already present to do the
snake case to camel case)
It is also useful when the java code is obfuscated and the name of the
java field is modified.
—
Reply to this email directly or view it on GitHub
https://github.com/joelittlejohn/jsonschema2pojo/issues/327.

I am using the online tool. By checking the Gson annotation style box, I do have SerializedName  annotations for fields that don't have the same name in schema and java (such as field_name -> fieldName), but I would like to have that annotations for all fields, as the actual java field name will be obfuscated.

Ah, I see what you mean. Feel free to submit a pull request for this.

Hi ,
The @SerializedName doesnt seem to be working for an int value. I'm using java 8 and gson2.2.3. Any  suggestions would be of great help.

@PNagesh I could be wrong, but I don't think you have diagnosed the problem correctly here. There's no reason that @SerializedName would fail to work for properties that have an int value when using Gson. Or do you mean using an int as the property key? This is not allowed in JSON.


National Bank of the Republic of Belarus service

This PR implements a service for acquiring BYN/BYR/BYB (Belarusian Ruble) exchange rates from the National Bank of the Republic of Belarus.

@daniser Thanks!!!!


Improve Metadata Validation and Display

In response to several issues raised during Dev Hackathon user tests, this PR introduces improved the validation and rendering of metadata values.
In particular, the following behaviors were introduces:

Clear files explicitly instead of assuming users want to clear the file selector if canceling
Add ESC shortcut for modals
Highlight text that can be edited in place
Reduce padding on search options
Limit date selection for subjects between 1900 and the current date
Add units to JSON Schema inputs (e.g. kg for subject weight)
Hide subject metadata from global popup so that it can only be edited on the Subject Table page.

How many explicit tests of these new behaviors do you think we can include - or is the fact that the e2e work evidence that they don't per se 'break' anything as is?

These are largely rendering / styling updates, so I don't believe it is essential to add new tests.
It's correct to say that nothing breaks because E2E tests are successful.
If you'd like, we could add a test that clears the filesystem selector outside of the E2E test since this behavior isn't ever used. But that'd be the biggest one to include. It's simply an onclick event decoupled to any other part of the system—only the component itself—so you wouldn't really expect it to fail.

These are largely rendering / styling updates

Or in other words, the chromatic stories are the more appropriate tests for these changes?


[core] Fixed the Superset logo link when logged out

Closes #7107

Codecov Report

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

@@           Coverage Diff           @@
##           master    #7118   +/-   ##
=======================================
  Coverage   64.59%   64.59%
=======================================
  Files         422      422
  Lines       20587    20587
  Branches     2251     2251
=======================================
  Hits        13298    13298
  Misses       7167     7167
  Partials      122      122

Continue to review full report at Codecov.

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

Codecov Report

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

@@           Coverage Diff           @@
##           master    #7118   +/-   ##
=======================================
  Coverage   64.59%   64.59%
=======================================
  Files         422      422
  Lines       20587    20587
  Branches     2251     2251
=======================================
  Hits        13298    13298
  Misses       7167     7167
  Partials      122      122

Continue to review full report at Codecov.

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

#7108 is another implementation for the same. Please look ok it oncr


1.0.10 Release Candidate

Featuring a new build system using npm exclusively to develop. Broke the postcss build system into a separate module. Added color variables. Maybe some stuff I forgot to commit.

lgtm


Update Composer dependencies (2024-02-12-00-17)

Visual regression test passed!
View the visual regression test report


Fix check-sse4_2.sh on GDB 8

What have you changed? (mandatory)
Extract the function address from nm and disassemble the function using that address. This is a workaround for the symbol not found failure occurring on GDB 8.
What are the type of the changes? (mandatory)
Bug fix
How has this PR been tested? (mandatory)
I have run make dev on my PC with GDB 8.
Hope this will also work for CI (which is equipped with GDB 7).
Does this PR affect documentation (docs) update? (mandatory)
No.
Does this PR affect tidb-ansible update? (mandatory)
No.
Refer to a related PR or issue link (optional)
Fix #4367

CI seems to use the check-sse4_2.sh on the master branch instead of the updated one. How can it be tested before merged?
This pr just helps developers using gdb 8. So I don't know if a test validating whether this works for GDB 8 should be added.

Additionally I prefer to remove the check of sse4.2 for make dev, which just doesn't make sense for development builds. We can leave it only for CI or release build. @overvenus How do you think?

Additionally I prefer to remove the check of sse4.2 for make dev, which just doesn't make sense for development builds. We can leave it only for CI or release build. @overvenus How do you think?

Ok, I will close this.

I agree it is better to leave this check release and ci only.


zipato mh-p210

Checklist

[X] It is not in the configuration DB

[X] It was not merged recently or has a pending PR

Which device is missing?
zipato mh-p210
Manufacturer ID
0x0131
Product Type
0x210a
Product ID
0x1303
Firmware Version
1.2
Is the device listed on the Z-Wave Alliance website?
no
Do you have a manual?
The dimmer is being identified as the gen4 MCO dimmer - https://devices.zwave-js.io/?jumpTo=0x015f:0x220a:0x1352:0.0 &
https://products.z-wavealliance.org/products/940?selectedFrequencyId=-1
It is actually a zipato mh-p210, a gen4 zwave device mh-p210-Zipato-Mini-Energy-Dimmer-User-Manual-v1.0.pdf
The gen5 zipato dimmer (mh-p220) is in the zwave js config dB - https://devices.zwave-js.io/?jumpTo=0x0131:0x220a:0x1352:0.0
The configs look very different from from the MCO vs the Zipato and the config options drice erratic behaviour in the lights.  I have taken the gen5 zipato config and modified for the gen4
mh-p210.txt
hoping that helps so i can properly ID the zipato dimmers.
Thanks

from zwave-js
351-4867-8458 (0x015f-0x210a-0x1303)
:)
On Fri, 29 Jul 2022 at 22:10, zwave-js-assistant[bot] <
@.***> wrote:

This issue has not seen any recent activity and was marked as "stale 💤".
Closing for housekeeping purposes... 🧹
Feel free to reopen if the issue persists.
—
Reply to this email directly, view it on GitHub
https://github.com/zwave-js/node-zwave-js/issues/4793#issuecomment-1199203347,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOHW2NJXHEH5JFBXBLJOPYLVWPC2PANCNFSM53HRQ66Q
.
You are receiving this because you authored the thread.Message ID:
@.***>


"Unknown Server Error" while logged in

Describe the bug
Attempting to load any codewars page while logged in leads to a 500 error and a blank page with the text "Unknown Server Error". Opening codewars in an incognito window does not cause this behaviour until I log in on that window.
To Reproduce

Log into codewars.

Expected Behavior
Codewars loads normally.
Contexts

Codewars username (if account related): phantamanta44 (via github login)
OS: windows
Browser: opera gx
Browser Version: 67.0.3575.130

it might be worth noting that this occurred after I received two emails about kata updates; in particular, they are:

Generator Functions
One-Semicolon Stream Zipping

Thanks for the info. It looks like the notification data associated with your account got corrupted. I'm looking into it now and will keep you updated.

I removed the corrupted data. Can you try again?

I can successfully log in now. thanks!


Change the Statusbar text color to black when the Statusbar background is white.

As a beginner, I have tried multiple solutions found online but nothing seems to work. I have changed the colorPrimaryDark to white to match with the website content. However, now the texts and icons of the statusbar are not visible anymore because they are white too. Can someone help me please?

i have similar problem


direct upload from browser

May i know does storage.putObject allow direct upload from browser or this has to run on server side node.js ?

This library is primarily meant for usage from Node.js. Supporting browsers would require major changes.


model-value doesn't work in VRadioGroup

Environment
"@gits-id/ui-nuxt": "^0.14.3"
"vee-validate": "^4.0.0"
Reproduction
https://stackblitz.com/edit/github-ycbgbo?file=app.vue
Describe the bug
hi @gravitano,
first, thank your for update. i have already update version. Vselect works fine now.
and i found bug when using VRadioGroup Component
model-value doesn't work. selected item doesn't set and not highlighted.
here is my code :
        <VRadioGroup           name="gender"           label="Gender"           placeholder="Choose"           :items="gender"           :model-value="dataGenderDB"         />
Additional context
No response
Logs
No response

Hi @karis, I just released a new version 0.14.4, which includes fixing this issue. Could you try updating and report back if anything breaks?

hi @gravitano
absolutely yes,


added transparent materials for all existing colors

Overview
Added transparent versions of all existing material colors.
Updated example scene to include transparent colors.
Changes

Fixes: https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/2558

@Ecnassianer any update to this?


Benchmarks

Proposes several benchmark problems which we can use to compare with PyEDA.
Also adds some minimum viable bindings for Bdd to implement these benchmarks.
(the history is a bit messed up because it initially branched off feat/bdd, but the actually relevant things should be contained in the benchmarks folder)

@daemontus I further resolved the conflicting two commits (feat(tests): bdd.domain and Fix failed rebase) by squashing them, effectively canceling their code changes.


Add note about EnterpriseVoiceEnabled to assign-change-or-remove-a-phone-number-for-a-user.md

Related to https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/9305.

Learn Build status updates of commit ef676b6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/assign-change-or-remove-a-phone-number-for-a-user.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@CarolynRowe
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@CarolynRowe
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


I permanetly get this issue

This is the issue:
Konfiguration fehlerhaft!  ~Translation: Config Wrong / Config Not right (Homeassistant Config Checker)
Integration error: dashboards - Integration 'dashboards' not found.
also it wont work :( Can you help me? -Charged

Can you share some screenshots of your setup?

Oki

oop it was hass issue i restarted the server full it works now but please dont close this yet

as im not finished with the dash

sure thing:)

hmm

Did you add the template to your dashboard config? If you using the GUI editor, it is in the top right corner.
If you are unsure how to do this, please check the documentation for custom button card.

Did you add the template to your dashboard config? If you using the GUI editor, it is in the top right corner. If you are unsure how to do this, please check the documentation for custom button card.

I dont really know what you mean

mean this heree?

Are you doing a yaml dashboard, or are you using the standard dashboard editor?

yaml

Btw we can keep chatting i am in front of pc i will reply instantly

I suggest looking at the setup guide for UI Minimalist if you do not understand mine. I can try to help but I'm really not that experienced. There are others who have described the steps much better.
Did you create a folder named ui_lovelace_minihass? That is where you also add a folder for the templates. In that folder, you add my templates. The .yaml files

wait 1 sec

i think i found an issue oops

btw, I realy suggest you download VS Code form Hacs if you are to work in yaml

ok thx

doing it rn

Guys... Perhaps it's better to move to dm's for this kind of conversation.
It's annoying to receive an email for every sentence written...

XD

ok dc maybe?

Discord? fredrik_persson_

request send once accepted this converstion will be closed and i will discuss privatly

This is now closed.


Change default secondary modeline color for powerline

Is there a reason that  powerline-active2 is set to the same color as the modeline?
(powerline-active2   :inherit 'mode-line)

Could it perhaps be set to something a little more interesting?

I don't use powerline, so I did that as a reasonable default. So I tried it out and I see what you mean. I'll look into a nicer default over the weekend.

Alright, tweaked it to look less bland. That said, after playing around with powerline, I think it's best that's all I do, and leave it to users to customize from there.


Still keep getting Error: Can't send request after GOAWAY

https://github.com/indutny/node-spdy/issues/278

me too
`request error Error: New stream after GOAWAY
Error: read ECONNRESET
    at exports._errnoException (util.js:1036:11)
    at TLSWrap.onread (net.js:564:26)`

just thinking, how about workaround for Connection loss; drop or goaway by Holding a second Keep-alive and Go To use it for next request once the Primary is having error. After this Force close first Connection and make secondary Primary. Than open another secondary Connection for fallback andOr Backup. Keep-alive by the ping function:-)


value of schema default

i'm writing some pan code and i realise after some debugging that (part of) the code might depend on a value of a schema default, eg
object t;
bind "/a" = long = 1;
"/b" = value("/a");

which fails with a referenced path (/a) doesn't exist evaluation error
short term question: any tips how to deal with this?
long term question: (this probably doesn't make much sense ;) can we adapt the compiler to look for a schema default when the path doesn't exist (yet)? if the path is set after the value call, it doesn't matter (the result is not the value from the actual profile); if it is not set after the value call, value would return correct result, but no more error.
(actual implementation might be non-trivial, as you have to do recursive schema default searching; and even more so, set the value).

@jouvin any thoughts on this? (or on #206)

I'll try to answer later today...

As the discussion seems to happen in the context of the pull request, I continue there...


Effects in object definition

Effects have to be specified in a specific order, but object keys in JavaScript are not guaranteed to be sorted in order they are defined.
Can I use useCallback like this?
const actions = {
  increment: useCallback( /* ... */ ),
  decrement: useCallback( /* ... */ ),
};

Or should I use it like this?
const increment = useCallback( /* ... */ );
const decrement = useCallback( /* ... */ );
const actions = {increment, decrement};

As long as that actions object is created the exact same way on each render, it shouldn't make a difference, since React only cares about the order the hooks are called, and doesn't care what you do with the result.

Even if the keys weren't guaranteed to be sorted int the order they were defined, it's the order of execution which matters.


mautrix-telegram: 0.11.3 -> unstable-2022-07-18 and rework packaging

Description of changes
mautrix-telegram is now broken on master due to not having released a new version for long and lagging back in terms of dependencies, so I bumped to an unstable version for it to catch up. Additionally removed some unused dependencies, added some optional ones. moviepy is left out by default as it greatly bloats the closure size by 600M.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

cc @yu-re-ka

now depends on https://github.com/NixOS/nixpkgs/pull/185497

Result of nixpkgs-review pr 183261 run on x86_64-linux 1

1 package failed to build:

mautrix-signal

6 packages built:

mautrix-facebook
mautrix-telegram
python310Packages.cryptg
python310Packages.mautrix (python310Packages.mautrix-appservice)
python39Packages.cryptg
python39Packages.mautrix (python39Packages.mautrix-appservice)

Result of nixpkgs-review pr 183261 run on x86_64-linux 1

7 packages built:

mautrix-facebook
mautrix-signal
mautrix-telegram
python310Packages.cryptg
python310Packages.mautrix (python310Packages.mautrix-appservice)
python39Packages.cryptg
python39Packages.mautrix (python39Packages.mautrix-appservice)

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 183261 run on x86_64-linux 1

7 packages built:

mautrix-facebook
mautrix-signal
mautrix-telegram
python310Packages.cryptg
python310Packages.mautrix (python310Packages.mautrix-appservice)
python39Packages.cryptg
python39Packages.mautrix (python39Packages.mautrix-appservice)

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:

mautrix-facebook:

got build log for '/nix/store/iga51gppabpl1vgza22ja88y36wf27y4-python3.10-mautrix-facebook-unstable-2022-05-06' from 'daemon'
When evaluating attribute ‘mautrix-facebook’:
warning: unused-argument
Unused argument: fetchpatch.
Near pkgs/servers/mautrix-facebook/default.nix:3:3:
  |
3 | , fetchpatch
  |   ^

mautrix-signal:

got build log for '/nix/store/p87prdp3fbv753174ndxcll3pgdxknwh-python3.10-mautrix-signal-0.3.0' from 'daemon'
When evaluating attribute ‘mautrix-signal’:
warning: python-include-tests
Consider adding a checkPhase for tests, or if not feasible, pythonImportsCheck.
Near pkgs/servers/mautrix-signal/default.nix:56:
   |
56 |     description = "A Matrix-Signal puppeting bridge";
   | ^

See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/python-include-tests.md

mautrix-telegram:

got build log for '/nix/store/idpny4idq896svqngsrcb7y4vv2yh9m9-python3.10-mautrix-telegram-0.12.0' from 'daemon'
When evaluating attribute ‘mautrix-telegram’:
warning: unused-argument
Unused argument: mautrix-telegram.
Near pkgs/servers/mautrix-telegram/default.nix:3:3:
  |
3 | , mautrix-telegram
  |   ^


Default service account support

I had need to use a default service account that had read only permissions to GSM. I also had a requirement not to generate service account keys and ship credentials anywhere.
I updated the code to allow for a "system" level account that requires a project id be set as well.
This worked for my needs so I thought I would share. Appreciate any and all feedback!

@glassrye thanks for your input, this is a great feature. Will you be so kind to expand the creds_file parameter description in README.md regarding new system option?

Ah! Of course, of course. I can't believe I forgot that part. Anyway, that has been added. Thanks so much for this great plugin!

Anything that needs doing to get this merged in?


⚠ Secret Website 3 has degraded performance

In 97ae43a, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 4706 ms

Resolved: Secret Website 3 performance has improved in 1643fae after 9 minutes.


GUI improvements

Hi, I want to recommend the following GUI and functional improvements:
1.) under Tuya Devices -> Scanned network devices:

add a button to manually search for new devices (in my case new devices do not show automatically in the overview)
add the device name for easier identification of the device

2.) under Tuya devices -> Connected Devices & Data

add the device name (also see feature request [https://github.com/volker76/tuya_mqtt.net/issues/14])

3.) under Log

add time stamps

I really appreaciate the feedback and imporvement request. But I need to close this here as we only can handle one particular issue in one ticket and need to open multiple cases to allow us discussing the cases and work on the omprovements.


Destination Solr Document fails to preserve field order

Examining a topic in kafka shows field ordering as desired for Solr update.
Yet this connector generates a randomly (not front to back or back to front) SolrInputDocument field list.
User Impact: SolrDocuments in the destination cloud are inconsistent with design specs.
Performance Impact: Solr Cloud will suffer performance impacts from misordered document schema. High performance Inverted indexes are frequently designed to minimize time to find a field occurrence of the term when doing constrained field based queries.
Suggested Remedy: Not sure about the code involved, the SinkRecord(?) needs to retrieve topic fields in order into an ordered map. JSON objects are notorious for ordering randomness. LinkedHashMap's are one pattern that can be used to preserve original topic field ordering into a SolrInputDocument.

That's an interesting issue @cwsusa. Other than reordering the map at the last minute, I'm not sure how we would go about fixing it. When you use JSON, the JSON converter provides a map to the connector. This is done by jackson at the lowest level, and is most likely a hashmap. I would need to confirm that but based on the behavior that would make sense. Have you considered using Avro? Schema-registry supports Avro and the field order would be persisted end to end. This might work better for your use case.


[Feature Request] Support for SF Symbols

Is your feature request related to a problem? Please describe.
This is not a problem. It would just be nice to be able to use SF Symbols (https://developer.apple.com/sf-symbols/) as icons and images.
Describe the solution you'd like
Enable SF Symbol support for icons and images.
Example:
-icon_path ”sf.exclamationmark”
It would also be nice to be able to change the color and weight of the SF Symbol just like you can do in swiftDialog.
Describe alternatives you've considered
None
Additional context
None

Thanks for the FR, prioritising this for version 3.0.0

Great! Thank you!


Fix crash possibility if module: <name> is not defined

Fix #3442

Just a thought: Wouldn't that be a thing that belongs in check_config.js?

check_config.js check only syntax but it does not check the contents of the file
should we make some other checks on it too ?

well, this one is the first actual content that is important..
altho position  should be checked too.. at least valid if specified.. that is another crash..

So, we have to check module: <name>and position: <valid position> (if defined)
we check it on check_config.js and MM core ?

I think so.. never crash..

ok, I will see to code it

Right, I will try to add needed rules with eslint in check_config.js ;)
I have never done this kind of test.
bugsounet, it's time to learn :)

module name error:

postion error:

No error:

I'm not sure that i can integrate it into eslint

Before approuve some new deps.
Thanks to review this :>

If I use a module with a valid position and disabled: true , e.g.
		{
			module: "weather",
			header: "default weather module current",
			position: "top_left",
			disabled: true,
			config: {
				weatherProvider: "openmeteo",
				lat: 50.17659,
				lon: 8.62685,
				useCorsProxy: true,
				roundTemp: true,
				showPrecipitationProbability: true,
				showHumidity: "wind",
				showUVIndex: true,
				appendLocationNameToHeader: false,
				windUnits: "kmh",
				showFeelsLike: false,
				bridgeId: "abc",
			},
		},

I get a warning
[2024-06-07 23:21:00.091] [WARN]  No module name found for this configuration: {
  module: 'weather',
  header: 'default weather module current',
  position: 'top_left',
  disabled: true,
  config: {
    weatherProvider: 'openmeteo',
    lat: 50.17659,
    lon: 8.62685,
    useCorsProxy: true,
    roundTemp: true,
    showPrecipitationProbability: true,
    showHumidity: 'wind',
    showUVIndex: true,
    appendLocationNameToHeader: false,
    windUnits: 'kmh',
    showFeelsLike: false,
    bridgeId: 'abc'
  }
}

Is this intended? I think we need no such warning for disabled modules ...

i agree, no warning there.

sure, it's not logical

fixed

It's boring to redo the packages :/

ping @rejas

@rejas:

I see that postions is again used in main.js. So I use it with MM.getAvailableModulePositions
--> I able to have all position in loader.js

I have move position utils in utils.js
--> used in app.js with Utils.moduleHasValidPosition()

@rejas: tell me

If it's ok for you or not ?
If you want really push it for MM² v2.28 ?

Sorry to say this but it's discouraging (this PR is open since May 10)  :/

@rejas: tell me
* If it's ok for you or not ?

* If you want really push it for MM² v2.28 ?

Sorry to say this but it's discouraging (this PR is open since May 10) :/

Of course its ok for me (I do trust your code :-) I was jsut pondering a lot if we could move ALL the position usages into the same file. but that would be as we say in germany: in schönheit sterben (meaning "to die in beauty" aka to work too much and never finish :-D
So sorry for my slow approbval, but will do now!


MACS2: Too few paired peaks (0) so I can not build the model!

Description of the bug
Hello,
While running the pipeline, it is encountering issues when running MACS2. Here are the specifics:
-[nf-core/chipseq] Pipeline completed with errors-
ERROR ~ Error executing process > 'NFCORE_CHIPSEQ:CHIPSEQ:MACS2_CALLPEAK (WT_HRCA_IP_REP1)'
Caused by:
Process NFCORE_CHIPSEQ:CHIPSEQ:MACS2_CALLPEAK (WT_HRCA_IP_REP1) terminated with an error exit status (1)
Command executed:
macs2
callpeak
--keep-dup all --broad --broad-cutoff 0.1
--gsize 1000000
--format BAM
--name WT_HRCA_IP_REP1
--treatment WT_HRCA_IP_REP1.mLb.clN.sorted.bam
--control WT_INPUT_REP1.mLb.clN.sorted.bam
cat <<-END_VERSIONS > versions.yml
"NFCORE_CHIPSEQ:CHIPSEQ:MACS2_CALLPEAK":
macs2: $(macs2 --version | sed -e "s/macs2 //g")
END_VERSIONS
Command exit status:
1
Command output:
(empty)
Command error:
INFO  @ Thu, 14 Dec 2023 23:22:41:
Command line: callpeak --keep-dup all --broad --broad-cutoff 0.1 --gsize 1000000 --format BAM --name WT_HRCA_IP_REP1 --treatment WT_HRCA_IP_REP1.mLb.clN.sorted.bam --control WT_INPUT_REP1.mLb.clN.sorted.bam
ARGUMENTS LIST:
name = WT_HRCA_IP_REP1
format = BAM
ChIP-seq file = ['WT_HRCA_IP_REP1.mLb.clN.sorted.bam']
control file = ['WT_INPUT_REP1.mLb.clN.sorted.bam']
effective genome size = 1.00e+06
band width = 300
model fold = [5, 50]
qvalue cutoff for narrow/strong regions = 5.00e-02
qvalue cutoff for broad/weak regions = 1.00e-01
The maximum gap between significant sites is assigned as the read length/tag size.
The minimum length of peaks is assigned as the predicted fragment length "d".
Larger dataset will be scaled towards smaller dataset.
Range for calculating regional lambda is: 1000 bps and 10000 bps
Broad region calling is on
Paired-End mode is off
INFO  @ Thu, 14 Dec 2023 23:22:41: #1 read tag files...
INFO  @ Thu, 14 Dec 2023 23:22:41: #1 read treatment tags...
INFO  @ Thu, 14 Dec 2023 23:22:43:  1000000
INFO  @ Thu, 14 Dec 2023 23:22:44: 1702472 reads have been read.
INFO  @ Thu, 14 Dec 2023 23:22:44: #1.2 read input tags...
INFO  @ Thu, 14 Dec 2023 23:22:45:  1000000
INFO  @ Thu, 14 Dec 2023 23:22:46: 1729564 reads have been read.
INFO  @ Thu, 14 Dec 2023 23:22:46: #1 tag size is determined as 40 bps
INFO  @ Thu, 14 Dec 2023 23:22:46: #1 tag size = 40.0
INFO  @ Thu, 14 Dec 2023 23:22:46: #1  total tags in treatment: 1702472
INFO  @ Thu, 14 Dec 2023 23:22:46: #1  total tags in control: 1729564
INFO  @ Thu, 14 Dec 2023 23:22:46: #1 finished!
INFO  @ Thu, 14 Dec 2023 23:22:46: #2 Build Peak Model...
INFO  @ Thu, 14 Dec 2023 23:22:46: #2 looking for paired plus/minus strand peaks...
INFO  @ Thu, 14 Dec 2023 23:22:46: #2 number of paired peaks: 0
WARNING @ Thu, 14 Dec 2023 23:22:46: Too few paired peaks (0) so I can not build the model! Broader your MFOLD range parameter may erase this error. If it still can't build the model, we suggest to use --nomodel and --extsize 147 or other fixed number instead.
WARNING @ Thu, 14 Dec 2023 23:22:46: Process for pairing-model is terminated!
I believe this might be an issue because I am using a bacterial genome and other users on the MACS2 GitHub have reported similar problems (https://github.com/macs3-project/MACS/issues/390).
I was wondering what is the best way to resolve this issue? Thanks!
Command used and terminal output
No response
Relevant files
No response
System information
No response

I will close this issue now for lack of activity, if you have any further questions please feel free to re-open it.


feat: pip-12

@amirvalhalla please change pip number to 13: #46
pip-12 already exists.

based on here we don't have any PIP-12. is that reserved?

@amirvalhalla please change pip number to 13: #46
pip-12 already exists.

based on here we don't have any PIP-12. is that reserved?

please check PR: https://github.com/pactus-project/PIPs/pull/46

@amirvalhalla please change pip number to 13: #46
pip-12 already exists.

based on here we don't have any PIP-12. is that reserved?

please check PR: #46

ok I'll change the PIP number.


.resume(message) doesn't work.

Description
I have tried reinstalling all the dependencies of the package but whenever I try to resume the playback, it simply does not, when I check .getQueue(message) it appears that the playback is not paused, but still it does not play anything at all.
Expected behavior
I am new to making bug reports, when the .resume(message) function is executed I expect it to resume playback, which does not happen.
Additional context
The .resume() function does not work.

If you use node 15.x, this is due to discord.js.
https://github.com/discordjs/discord.js/issues/5300
I noted it in DisTube Support Server.

This is not working for node 14.x too
I'm using node 14.x, lasted distube beta version, discord.js v12.5.3

This is not working for node 14.x too
I'm using node 14.x, lasted distube beta version, discord.js v12.5.3
v14.17.0 or above too. You can follow it in the above discord.js issue

Is there any way to fixed it by downgrading the version?
Which version you are using

Is there any way to fixed it by downgrading the version?
Which version you are using

Just pause and resume again like the solution above.
Btw, I'm using 14.16.1

Yea it's fixed now
Btw is it work normally if i downgrade the node version

Btw is it work normally if i downgrade the node version

Yes, it happens on nodejs 14.7 or above

has a function to check if the music is paused?
I saw this function client.distube.isPaused(message) But she doesn't exist.

has a function to check if the music is paused? I saw this function client.distube.isPaused(message) But she doesn't exist.

Queue.paused

cannot play anything using spotify link.

Error:
Couldn't find any data in embed page that we know how to parse

I have tried multiple song links but every single one of them gave this error.


Vulnerability in dicer package

According to NPM audit, the dicer package has been marked with a high vulnerability. Swagger-tools is impacted by this vulnerability by way of this path: swagger-tools > multer > busboy > dicer
CVE link:https://github.com/advisories/GHSA-wm7h-9275-46v2
The multer team has just recently updated their 1.x branch to include a fix in a backwards compatible way. The branch can be found here.
Is there any chance that swagger-tools could be updated to use v1.4.5-lts.1 of multer? Would be will to put together the PR if desirable.

Any updates on this?


Spider Man Remastered crashes with addon

It says something about unsupported card, when i remove addon everything is fine

Hello. Don't know how to fix it?


Fix SIP.js SDP error - update utils.ts with correct SDES parameter

Description
Fixed incorrectly encoded SDES parameter in the NG protocol config. SDES parameters are supplied in an array, not a single string. See here: https://github.com/sipwise/rtpengine/issues/433
This cures Failed to set remote offer sdp: SDES and DTLS-SRTP cannot be enabled at the same time. error in SIP.js
See https://github.com/fonoster/routr/issues/280
Type of change

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

How Has This Been Tested?
I have not been able to test this directly as I don't know how to build the routr-one docker image. However I have built a new docker image based on routr-one:latest with a modified utils.js and this fixes the issue. I was advised by Pedro Sanders that I should submit a pull request and allow the team to perform tests.
Checklist:

[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

@SemiConscious, this is awesome. I'm merging and plan to have a release later today.

@psanders Only too happy :)


next_url for list_resource_instances() not working

Looking into https://stackoverflow.com/questions/72736166/listing-ibm-cloud-resources-using-resourcecontrollerv2-and-pagination-issues
Here is my copy/paste of the original code:
from ibm_platform_services import ResourceControllerV2
from ibm_cloud_sdk_core.authenticators import IAMAuthenticator

limit = 2
try:
    ####### authenticate and set the service url
    #auth = IAMAuthenticator(RESOURCE_CONTROLLER_APIKEY)
    #service = ResourceControllerV2(authenticator=auth)
    #service.set_service_url(RESOURCE_CONTROLLER_URL)
    service = ResourceControllerV2.new_instance()

    ####### Retrieve the resource instance listing
    r = service.list_resource_instances(limit=limit).get_result()
    ####### get the row count and resources list
    rows_count = r['rows_count']
    resources = r['resources']

    while rows_count > 0:
        print('Number of rows_count {}'.format(rows_count))

        next_url = r['next_url']
        print(next_url)

        for i, resource in enumerate(resources):
            type = resource['id'].split(':')[4]
            if type == 'cloud-object-storage':
                instance_name = resource['name']
                instance_id = resource['guid']
                crn = resource['crn']
                # print('Found instance id : name - {} : {}'.format(instance_id, instance_name))

        ############### this is SUPPOSED to get the next page
        r = service.list_resource_instances(limit=limit, start=next_url).get_result()
        rows_count = r['rows_count']
        resources = r['resources']

except Exception as e:
    Error = 'Error : {}'.format(e)
    print(Error)
    exit(1)

Set limit=2 and no rows are returned
set limit-10 and 7 rows are returned and it gets into an endless loop.

Sorry wrong repo


i call close, get error?

My code is:
c := hbase.NewClient("<IP_ADDRESS>:2181")
defer c.Close()
But Close get error:
ERRO[0000] error occured, closing region client          client="RegionClient{Addr: hadoop-server-11:16020}" err="client is dead"
ERRO[0000] error occured, closing region client          client="RegionClient{Addr: hadoop-server-10:16020}" err="client is dead"
why?

I also met this error, is so big agony! HELP!

It's harmless log say that the client got closed. I stopped logging it in latest version.


XSS possible in data-target property of scrollspy

XSS possible in scrollspy data-target attribute
data-target="<img src=1 onerror=alert(123) />"
Bootstrap 4.1.1 in combination with JQuery 3.3.1

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via CodePen or JS Bin and report back with your link, Bootstrap version, and specific browser and OS details.

https://jsbin.com/toxogipewo/edit?html,output
Browser: Chrome Version 66.0.3359.181 64x
OS: Windows 10 64x


Torch not compiled with CUDA enabled

Can you help me solve this error
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

Hi! I solved this problem. you need to change the line of code:
"self.Neural_Network_Architecture = Neural_Network_Architecture().cuda()" to: "self.Neural_Network_Architecture = Neural_Network_Architecture().cpu()"

Where to change that?


added round triangles in corners from default vite/react page

After running npm install + npm run dev I was just brought to the default Vite/React informational page, if there was another interface that I was supposed to be adjusting please let me know and I can review that but for now I added a starting layout with curved triangles in each corner to the main page.

Yes. I was having some issues with the last commit but it didn't have much anyway. I just removed the default components and tried adding the triangles in a Layout.jsx file. That's all.
I was having some trouble with the layout, so thank you for the contribution!
I've already tested it and it looks good!👍


libdeltachat: 1.84.0 -> 1.85.0

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

closes https://github.com/NixOS/nixpkgs/pull/176173

@ofborg eval

fwiw, no regression when using kdeltachat

Result of nixpkgs-review pr 176141 run on x86_64-linux 1

6 packages built:

deltachat-cursed
deltachat-desktop
kdeltachat
libdeltachat
python310Packages.deltachat
python39Packages.deltachat

@rapenne-s Let me know if you want to be added as maintainer for some Delta Chat packages (mainly so you'd be pinged in every PR).

@dotlambda yes sure, at least for libdeltachat and kdeltachat as I'm an user of it.

@dotlambda yes sure, at least for libdeltachat and kdeltachat as I'm an user of it.

Do you want me to do that or will you file a PR?


UI issue fixes, comments and naming convention changes done.

This PR contains some of the changes related to resolving discussions in  PR .

UI fixes of issue

And commenting, Naming convention changes.

From my point of view, we could merge this. There are a few things that still need to be done, but that will be tackled in another PR.
The problem is: If we merge your PR now, then all of the other open ones will most likely need to be updated as well. Could you coordinate this with the authors of the other currently open ones (#33, #32 and #30)?

I will coordinate with them. That's why I just gave this PR in hurry. You can merge it.

You can merge it.

Awesome 👍


Add cli for eval

Issue #, if available:
Description of changes:
Adds CLI support for eval logic. Made a few changes to naming, and fixed a couple of bugs.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I general these changes look good to me. One concern is that I believe Nick is planning to run evaluation tests by importing logic from this module, like aggregate_amlb_results, run_evaluation_openml and run_generate_clean_openml. I'm afraid if we change the function names and signatures as we port it to typer we could break his workflow. I think we should either not change the function names/signatures and just improve the CLI, or get Nick's feedback on if these changes are acceptable to him.

I general these changes look good to me. One concern is that I believe Nick is planning to run evaluation tests by importing logic from this module, like aggregate_amlb_results, run_evaluation_openml and run_generate_clean_openml. I'm afraid if we change the function names and signatures as we port it to typer we could break his workflow. I think we should either not change the function names/signatures and just improve the CLI, or get Nick's feedback on if these changes are acceptable to him.

That's a very good point @gidler . @Innixma Do you think the updated function names and signatures make sense? If you feel the other way or have better suggestions, I can update in the PR.


Set errno when simulating failed allocation

From malloc(2):
SUSv2 requires malloc(), calloc(), and realloc() to set errno to
ENOMEM upon failure.  Glibc assumes that this is done (and the glibc
versions of these routines do this); if you use a private malloc
implementation that does not set errno, then certain library routines
may fail without having a reason in errno.
See: https://github.com/google/oss-fuzz/pull/9902#issuecomment-1556038788

Thanks @mrc0mmand


Add augroup

Fix #27
See :h augroup, it can disable these autocmds are run repeatedly.
And I notice t/test_ftdetect.vim use Requirements_matched_filename(filename)
and I am not sure if I change it to autoload function, the test can pass. So it
is determined by you.
Thanks.

And I notice t/test_ftdetect.vim use Requirements_matched_filename(filename)
and I am not sure if I change it to autoload function, the test can pass. So it
is determined by you.

Hmmm, it is true that this test code was written a long time ago. I'm not even sure we would pass the test if we made the change. 😅


CI: GH Pages: Force Push to GH Pages Branch

Is not needed anymore. We moved to gh actions. GH Pages are build correctly now.