Restart Plugin - issue presented again but no more usable

Hi Majki09,
same issue #15
no other changes or update in the infrastructure/devices on my side.
today I saw logs error continuosly and I had to disable both devices on DZ.
please have a look my error logs below:
2023-07-04 10:48:43.511 Error: AC Room1: Call to function 'onHeartbeat' failed, exception details:
2023-07-04 10:48:43.513 Error: AC Room1: Traceback (most recent call last):
2023-07-04 10:48:43.514 Error: AC Room1: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/plugin.py", line 341, in onHeartbeat
2023-07-04 10:48:43.514 Error: AC Room1: self.lg_device_status = self.lg_device.get_status()
2023-07-04 10:48:43.515 Error: AC Room1: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/ac.py", line 372, in get_status
2023-07-04 10:48:43.515 Error: AC Room1: res = self._get_deviceinfo_from_snapshot()
2023-07-04 10:48:43.516 Error: AC Room1: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/client.py", line 460, in _get_deviceinfo_from_snapshot
2023-07-04 10:48:43.516 Error: AC Room1: devices = self.client.session.get_devices()
2023-07-04 10:48:43.517 Error: AC Room1: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/core.py", line 525, in get_devices
2023-07-04 10:48:43.518 Error: AC Room1: return get_list(self.get("service/application/dashboard"), "item")
2023-07-04 10:48:43.518 Error: AC Room1: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/core.py", line 516, in get
2023-07-04 10:48:43.519 Error: AC Room1: language=self.auth.gateway.language,
2023-07-04 10:48:43.519 Error: AC Room1: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/core.py", line 281, in thinq_request
2023-07-04 10:48:43.520 Error: AC Room1: raise API_ERRORS[code](code)
2023-07-04 10:48:43.520 Error: AC Room1: wideq.core.NotLoggedInError: 0102
2023-07-04 10:48:43.521 Error: AC Room1:
2023-07-04 10:48:43.521 Error: AC Room1: During handling of the above exception, another exception occurred:
2023-07-04 10:48:43.522 Error: AC Room1:
2023-07-04 10:48:43.523 Error: AC Room1: Traceback (most recent call last):
2023-07-04 10:48:43.523 Error: AC Room1: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/plugin.py", line 578, in onHeartbeat
2023-07-04 10:48:43.524 Error: AC Room1: _plugin.onHeartbeat()
2023-07-04 10:48:43.524 Error: AC Room1: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/plugin.py", line 378, in onHeartbeat
2023-07-04 10:48:43.525 Error: AC Room1: self.lg_device = self.wideq_object.operate_device(device_id=self.DEVICE_ID)
2023-07-04 10:48:43.525 Error: AC Room1: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/plugin.py", line 745, in operate_device
2023-07-04 10:48:43.526 Error: AC Room1: lg_device = wideq.ACDevice(client, self._force_device(client, device_id))
2023-07-04 10:48:43.526 Error: AC Room1: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/plugin.py", line 726, in _force_device
2023-07-04 10:48:43.527 Error: AC Room1: device = client.get_device(device_id)
2023-07-04 10:48:43.528 Error: AC Room1: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/client.py", line 144, in get_device
2023-07-04 10:48:43.528 Error: AC Room1: for device in self.devices:
2023-07-04 10:48:43.528 Error: AC Room1: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/client.py", line 135, in devices
2023-07-04 10:48:43.528 Error: AC Room1: self._devices = self.session.get_devices()
2023-07-04 10:48:43.528 Error: AC Room1: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/core.py", line 525, in get_devices
2023-07-04 10:48:43.528 Error: AC Room1: return get_list(self.get("service/application/dashboard"), "item")
2023-07-04 10:48:43.528 Error: AC Room1: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/core.py", line 516, in get
2023-07-04 10:48:43.528 Error: AC Room1: language=self.auth.gateway.language,
2023-07-04 10:48:43.528 Error: AC Room1: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/core.py", line 281, in thinq_request
2023-07-04 10:48:43.528 Error: AC Room1: raise API_ERRORS[code](code)
2023-07-04 10:48:43.528 Error: AC Room1: wideq.core.AgreementError: 0110

2023-07-04 10:49:45.275 Error: AC Room2: Call to function 'onHeartbeat' failed, exception details:
2023-07-04 10:49:45.279 Error: AC Room2: Traceback (most recent call last):
2023-07-04 10:49:45.279 Error: AC Room2: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/plugin.py", line 341, in onHeartbeat
2023-07-04 10:49:45.279 Error: AC Room2: self.lg_device_status = self.lg_device.get_status()
2023-07-04 10:49:45.279 Error: AC Room2: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/ac.py", line 372, in get_status
2023-07-04 10:49:45.280 Error: AC Room2: res = self._get_deviceinfo_from_snapshot()
2023-07-04 10:49:45.280 Error: AC Room2: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/client.py", line 460, in _get_deviceinfo_from_snapshot
2023-07-04 10:49:45.280 Error: AC Room2: devices = self.client.session.get_devices()
2023-07-04 10:49:45.280 Error: AC Room2: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/core.py", line 525, in get_devices
2023-07-04 10:49:45.280 Error: AC Room2: return get_list(self.get("service/application/dashboard"), "item")
2023-07-04 10:49:45.280 Error: AC Room2: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/core.py", line 516, in get
2023-07-04 10:49:45.280 Error: AC Room2: language=self.auth.gateway.language,
2023-07-04 10:49:45.280 Error: AC Room2: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/core.py", line 281, in thinq_request
2023-07-04 10:49:45.280 Error: AC Room2: raise API_ERRORS[code](code)
2023-07-04 10:49:45.280 Error: AC Room2: wideq.core.NotLoggedInError: 0102
2023-07-04 10:49:45.281 Error: AC Room2:
2023-07-04 10:49:45.281 Error: AC Room2: During handling of the above exception, another exception occurred:
2023-07-04 10:49:45.281 Error: AC Room2:
2023-07-04 10:49:45.281 Error: AC Room2: Traceback (most recent call last):
2023-07-04 10:49:45.281 Error: AC Room2: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/plugin.py", line 578, in onHeartbeat
2023-07-04 10:49:45.281 Error: AC Room2: _plugin.onHeartbeat()
2023-07-04 10:49:45.281 Error: AC Room2: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/plugin.py", line 378, in onHeartbeat
2023-07-04 10:49:45.281 Error: AC Room2: self.lg_device = self.wideq_object.operate_device(device_id=self.DEVICE_ID)
2023-07-04 10:49:45.281 Error: AC Room2: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/plugin.py", line 745, in operate_device
2023-07-04 10:49:45.281 Error: AC Room2: lg_device = wideq.ACDevice(client, self._force_device(client, device_id))
2023-07-04 10:49:45.281 Error: AC Room2: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/plugin.py", line 726, in _force_device
2023-07-04 10:49:45.282 Error: AC Room2: device = client.get_device(device_id)
2023-07-04 10:49:45.282 Error: AC Room2: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/client.py", line 144, in get_device
2023-07-04 10:49:45.282 Error: AC Room2: for device in self.devices:
2023-07-04 10:49:45.282 Error: AC Room2: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/client.py", line 135, in devices
2023-07-04 10:49:45.282 Error: AC Room2: self._devices = self.session.get_devices()
2023-07-04 10:49:45.282 Error: AC Room2: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/core.py", line 525, in get_devices
2023-07-04 10:49:45.282 Error: AC Room2: return get_list(self.get("service/application/dashboard"), "item")
2023-07-04 10:49:45.282 Error: AC Room2: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/core.py", line 516, in get
2023-07-04 10:49:45.282 Error: AC Room2: language=self.auth.gateway.language,
2023-07-04 10:49:45.282 Error: AC Room2: File "/home/<username>/domoticz/plugins/domoticz_lg_thinq_plugin/wideq/core.py", line 281, in thinq_request
2023-07-04 10:49:45.282 Error: AC Room2: raise API_ERRORS[code](code)
2023-07-04 10:49:45.282 Error: AC Room2: wideq.core.AgreementError: 0110

I've already disabled and re-enabled them but no luck.
please are you able to something ?
currently is unusable
Regards

Hi again,
I've just seen there is a new privacy change do be accepted on LG !
accepted it and now back everything online

issue can be closed

Hi again, I've just seen there is a new privacy change do be accepted on LG !
accepted it and now back everything online

This is what you should do.
Thanks!


How to load image from bytes (include_bytes)?

I want to bundle my images with executable.
This is the code I used and it fails compilation with error
expected enum `image::dynimage::DynamicImage`, found array `[u8; 23307]

use viuer::{Config, print_from_file, print};
let conf = Config {
  transparent: true,
  absolute_offset: false,
  ..Default::default()
};
let img = include_bytes!("image.png");
print(img, &conf);

How could I convert bytes to DynamicImage?

Hi,
It seems that you are not using the print_from_file function, although it is imported. It will help you with printing, all it needs is a path, see its signature here. You don't need to use include_bytes! in that case.
If you really want to load the image, you can have a look at the image library. It lets you do all kinds of manipulations to an image, including access to the raw data behind it. viuer uses it, and that's why the viuer::print method takes as an argument a DynamicImage.

@atanunq thanks for the respons. print_from_file works fine, but I'm looking for the way to bundle the image with my executable.

Oh, I see.
I am afraid viuer cannot help you with that. You should have a look at image functionality to load the image as a usable representation. If this should happen at compile time, I guess you could do this in a macro expansion of some sorts.
Also, I noticed there is a crate that does the magic for you - rust-embed.
Closing, as this project does not aim to achieve this functionality.


A simplified idiom for Monte Carlo iteration

We perform Monte Carlo iteration in several places in continuum fitting.  Previously, these usages were somewhat ad hoc, as they mixed together

initialization of Monte Carlo inputs
creation of empty arrays to hold Monte Carlo outputs
the actual Monte Carlo operations and filling the arrays
Moreover, there were a few divergences between the operations in basic fitting and the corresponding Monte Carlo iteration, mostly to do with corner case handing.

This change tries to establish a more uniform idiom for Monte Carlo iteration.  The goals are

make basic fitting and the corresponding Monte Carlo iteration use the same code, written in just one place
avoid the need to create temporary variables for MC that must have names distinct from those used in basic fitting (because lexical scoping is apparently not Pythonic?)
minimize noise from MC output array initialization and filling

For each fitting/Monte Carlo iteration pair, we create a core fitting function.  This function is then vectorized using np.vectorize(). The resulting vectorized function implicitly allocates and fills the MC output arrays and loops over the core function.
This idiom works pretty well for most uses of MC iteration in continuum.py, except for kcorr_and_absmag(), which would require an overhaul of this function to separately compute synth_absmag (the part used in iteration) and all the other stuff, which is only used in basic fitting.  It is somewhat limited by the quirks of np.vectorize(), in particular its inability to mix non-vectorized arguments (such as debug flags) with vectorized arguments specified by signature.
While there may be other idioms that work even better (which we can explore in future), this PR should already improve the readability and maintainability of MC.  It's somewhere between performance-neutral and a slight improvement.  In the future, this work should be extended to iterations in emlines.py.

Closed in favor of #193, which uses list comprehension rather than np.vectorize. The results are the same but list comprehension is definitely clearer and likely easier to maintain and extend.


[Dropdown][iOS 5.1.1]  cannot select item

Steps to Reproduce
In the following HTML:

    <input name="gender" type="hidden">

Gender

Male

Female

<select name="gender" class="ui dropdown" id="select">
  <option value="">Gender</option>
  <option value="male">Male</option>
  <option value="female">Female</option>
</select>

    <input name="gender" type="hidden">

Gender

Male

Female

everything with the first dropdown menu is fine; both the second and third menus can drop items down, but there is no effect after you select an item. The only difference is if there is  a class="selection"
Semantic version: 2.1.4 & 2.1.5
iOS version: 5.1.1

I'm sorry but I cannot personally provide support iOS5, if you find a resolution let me know and I'll consider a patch.


Longhorn Rancher 2.6

Rancher Server Setup

Rancher version:v2.6.0
Installation option (Docker install/Helm Chart):Docker=20.10.8

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details: N/A

Information about the Cluster

Kubernetes version:

Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.2", GitCommit:"8b5a19147530eaac9476b0ab82980b4088bbc1b2", GitTreeState:"clean", BuildDate:"2021-09-15T21:38:50Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.3+k3s1", GitCommit:"1d1f220fbee9cdeb5416b76b707dde8c231121f2", GitTreeState:"clean", BuildDate:"2021-07-22T20:52:14Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"linux/amd64"}

Cluster Type (Local/Downstream): Local

Hosted/Infrastructure Provider): Custom

Describe the bug

Run rancher 2.6 as a docker container
Get good vibes about the new 2.6 version
Add old stuff to it
Can't
Longhorn was my storage class thingy
Bang head
Pod: longhorn-driver-deployer-5f47f8c9c-pgq6n Init:0/1
Namespace: longhorn-system; Age: 3.9 hours; containers with incomplete status: [wait-longhorn-manager]
apt-get update
apt-get install -y open-iscsi

Do I need to install longhorn on a VM or something? in rancher 2.4.* longhorn worked on prem
let's try with helm:

helm repo add longhorn https://charts.longhorn.io
helm repo update
helm install longhorn longhorn/longhorn --namespace longhorn-system

2021/10/01 11:55:03 proto: duplicate proto type registered: VersionResponse
Fri, Oct 1 2021 12:55:03 pm | time="2021-10-01T11:55:03Z" level=error msg="Failed environment check, please make sure you have iscsiadm/open-iscsi installed on the host"
Fri, Oct 1 2021 12:55:03 pm | time="2021-10-01T11:55:03Z" level=fatal msg="Error starting manager: Environment check failed: Failed to execute: nsenter [--mount=/host/proc/1/ns/mnt --net=/host/proc/1/ns/net iscsiadm --version], output , stderr, nsenter: failed to execute iscsiadm: No such file or directory\n, error exit status 127"
To Reproduce
run rancher 2.6 from a docker container
try to install longhorn however you can.
Result
Longhorn cannot be installed out of the box and neither with updating and installing exceptional packages
Expected Result
Please allow to install the longhorn default application in another project in the longhorn-system namespace
Setup
OS: Ubuntu 18.04.5 LTS
CPU: Intel® Core™ i7-6700K CPU @ 4.00GHz × 8
RAM: 15.6 GiB
sudo service iscsid status
● iscsid.service - iSCSI initiator daemon (iscsid)
Loaded: loaded (/lib/systemd/system/iscsid.service; disabled; vendor preset: enabled)
Active: active (running)
Docs: man:iscsid(8)
Process: 3208 ExecStart=/sbin/iscsid (code=exited, status=0/SUCCESS)
Process: 3196 ExecStartPre=/lib/open-iscsi/startup-checks.sh (code=exited, status=0/SUCCESS)
Main PID: 3216 (iscsid)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/iscsid.service
├─3213 /sbin/iscsid
└─3216 /sbin/iscsid
Oct 02 09:43:14 cms-pc systemd[1]: Starting iSCSI initiator daemon (iscsid)...
Oct 02 09:43:14 cms-pc iscsid[3208]: iSCSI logger with pid=3213 started!
Oct 02 09:43:14 cms-pc systemd[1]: iscsid.service: Failed to parse PID from file /run/iscsid.pid: Invalid
Oct 02 09:43:14 cms-pc systemd[1]: Started iSCSI initiator daemon (iscsid).
Oct 02 09:43:15 cms-pc iscsid[3213]: iSCSI daemon with pid=3216 started!
from https://github.com/longhorn/longhorn/blob/v1.2.0/scripts/environment_check.sh
daemonset.apps/longhorn-environment-check created
waiting for pods to become ready (0/1)
waiting for pods to become ready (0/1)
waiting for pods to become ready (0/1)
waiting for pods to become ready (0/1)
waiting for pods to become ready (0/1)
waiting for pods to become ready (0/1)
all pods ready (1/1)
MountPropagation is enabled!
cleaning up...
daemonset.apps "longhorn-environment-check" deleted
clean up complete

Ran into the same issue, it seems to use the storage of the docker container.
You can resolve it (kind of) by adding open-iscsi to the container:
docker exec -it $CONTAINER_ID /bin/sh

$ zypper install open-iscsi jq
$ iscsid

Note that you need to pass through `/var/lib/longhorn' if you want persistent storage.

@i404788 thank you for your reply. can you tell me in which container I must install open-iscsi? I have tried to install it in the rancher container but the longhorn app isn't installing. also for the volume can this be done on a windows machine or is it strictly meant for a linux machine?


doc: release: 3.5: (partial) kernel release notes

Include dynamic thread stack allocation and support for k_spin_trylock().

use past tense consistently


Makefile: fix make lib rule

Motivation and Context
make lib was not working properly with the virtual-env flow because we were not adding the necessary -I flag to find the numpy libraries.
The way this was broken was that if after a make install we modified a .cpp/.hpp file and tried to run a test, test.py would try to run make lib which would fail saying it couldn't find the necessary numpy
headers:
typed_python/_types.cpp:2:10: fatal error: numpy/arrayobject.h: No such file or directory

Approach
Added -I$(VIRTUAL_ENV)/lib/python3.6/site-packages/numpy/core/include to CPP_FLAGS
Also did a refactoring of Makefile to break up some very long lines and to refactor common argument sequences (see LINKER_FLAGS and SHAREDLIB_FLAGS)
How Has This Been Tested?
TravisCI is happy
Types of changes

[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)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

@braxtonmckee ready to merge. The failing test is the flaky test_redeploy_hanging_services

@braxtonmckee  false alarm, NOT READY TO MERGE


ShrinkWrapHeight widget

add debugDescribeSettings to a few classes that were missing it
fix some minor bugs in RenderShrinkWrapWidth and ShrinkWrapWidth
introduce RenderShrinkWrapHeight and ShrinkWrapHeight

Please add a test.  You can use the layout test harness.  See //sky/unit/test/rendering/image_test.dart for an example.

LGTM


Question about new Recurrent Layers in recurrent.py

Hi,
I was going through the new recurrent layers you have implemented (GRUM, GRUM2, ExoGRUM, SingleCell). Do you have any references which were the inspiration for these layers? I am very interested in learning more about them, and am intrigued by the additional "memory" component that seems to be added on to the traditional GRU.
Thanks!

They are my own inventions, but still in experimental phase. I think I should mention that in the code, right? Sorry for not having documentation enough.
Basically, I was trying some sort global stateful memory mechanism. Their usage involves updating states with callbacks. My first experiments were not really good, though (they were not better than regular GRUs). I should post more details in a near future. I'm just organizing more results now. But let me know if you find anything.

Dear @EderSantana
Is your recurrent layer  is compatible with new shape inference Keras Api?
Could you show some examples for implementing complex RNN with your recurrent api only?

I don't think so. I was still using the previous API.
Right now I'm developing other stuff for my thesis proposal. But I should be back by the end of this month.
I'll update the API and add some new stuff later. I hope you don't mind waiting a little bit.
For know, you check the examples and this code:
https://github.com/EderSantana/seya/blob/master/tests/test_containers.py#L69-L83
That is all I have for now. Thanks for the attention to this work!!!

Ok. thank you for answer.  I'll figure out how to use and extend it.  Good luck to your thesis.


Should be accessible via keyboard

What can be done is wrap it in a button or an anchor tag and pass the click function else you can make it like it will use onclick function if defined otherwise checked variable will have the value from props.
https://github.com/JoseRFelix/react-toggle-dark-mode/blob/91c575e3d6a6826e953091b6e467574cb651857b/src/index.tsx#L96

I agree. The SVG icon needs to be wrapped in a button element.


Installation procedure went wrong?

Hi,
I cloned your repo, created a build and install folder inside my clBLAS folder.
I run then the lines:
> cmake ../src/ -DCMAKE_INSTALL_PREFIX=/home/PersonalRepository/clBLAS/install
> make -j8
> make install

Everything went fine, so I went in the /install/bin folder (I thought these were some examples to run?) but none of them seem to work.
I either get segmentation fault (core dumped)  or The environment variable 'CLBLAS_STORAGE_PATH' is not defined
I guess I'm either looking in the wrong place for example, or I did something wrong with the installation.
Can you help?
Update
I figured for the examples I need to enable -DBUILD_SAMPLE=ON. However when running make -j8 I get this error while building:
error: \u2018FloatComplex {aka union <anonymous>}\u2019 has no member named \u2018x\u2019
             printf("%.5f ", result[i * ldb + j].x);

Hi, I met the same problem here and it can be fixed by simple change:
printf("%.5f ", CREAL(result[i * ldb + j]));
However, after compiling the example_ctrsm, the execution seems to get a segmentation fault like :

Do you have any idea about it? Were you able to run this example correctly at the time?


adding useRoutingData to Qwik City

Is your feature request related to a problem?
I would like to add a list of recent blog posts to my Qwik blog
Describe the solution you'd like
I would like to have something like this:
const routingData = useRoutingData();

routingData.routes.map(route => route.metadata.title);

Or even better
const last6BlogPosts = useRoutingData({
	filter(route => route.metadata.type === 'post'),
	sort((prevRoute, currentRoute) => {
		 // some soring logic based on prevRoute.metadata.date etc
	})
	page: 1,
	limit: 6
});

routingData.routes.map(route => route.metadata.title);

Describe alternatives you've considered
Develop a "blog plugin" to Qwik City
Additional context
Not sure if this should be a built-in feature or a blog plugin
I think it'll be valuable to have access to additional metadata of other pages or at least all the possible routes to generate dynamic lists

So... some member of the community is working on some amazing APIs for content, not sure how this conflicts with that

This community member sounds pretty cool. Handsome, too!
Both of these are handled in my code. Just with different implementations.

Cool, so closing in favor of handsomeness 😘😉
Thanks @nnelgxorz ! you rock!

This community member sounds pretty cool. Handsome, too!
Both of these are handled in my code. Just with different implementations.

@nnelgxorz It will be possible to add new routes and redirects programmatically (as can be done within Next.js config)? I would love a way to do so, besides the folder structure routing.

Hey @josantana! Nothing I'm working on makes any changes to routing. My contribution will allow you to move your content out of your routes and make it easier to work with collections of content.
I think modifying routes programmatically would be a different issue. Maybe you could open an issue here with your use case and we can figure something out.

Hey @josantana! Nothing I'm working on makes any changes to routing. My contribution will allow you to move your content out of your routes and make it easier to work with collections of content.
I think modifying routes programmatically would be a different issue. Maybe you could open an issue here with your use case and we can figure something out.

Thanks for your reply @nnelgxorz. I've openned a new issue (#1518). Hope it to be considered. :)

@manucorporat @nnelgxorz What's the "community work" you're referring to? I can't find something that could replace @shairez's proposal 🤔


a issue in case of sequential input messages with no intervals.

Thank you very much for your great work.
I found a problem when it goes with sequential messages with no intervals.
Symptom summary
The msg object from S3 Node has unexpected fields, when you use sequential input messages with no intervals.
Details with flow sample

a single message : OK
the upper line in the sample flow is for a single message.

start with "single" inject node.
Input @ "single input"

{"_msgid":"8a60a4c9.9dd2f8","topic":"","payload":1569393751386,"Key":"a.csv"}

Output @ "output"
msg.payload : expected
msg._msgid : expected

{
"_msgid": "b8886cb9.bcd4b",
"topic": "",
"payload": { ... },
"Key": "a.csv"
}

mulitple messages : NG
the lower line in the sample flow is for sequential messages with no intervals.

start with "multi" inject node.
 I see the "node.sendMsg" uses a last bound msg object at any time.
		node.on("input", function(msg) {
			node.sendMsg = function (err, data) {
				if (err) {
				    node.status({fill:"red",shape:"ring",text:"error"});
				   node.error("failed: " + err.toString(), msg);
				   node.send([null, { err: err }]);
    				return;
				} else {
				msg.payload = data;
				node.status({});
				}
				node.send([msg,null]);
			};

Sample Flow
sample-flow.json.zip

Same problem, with a loop, my last message is reused on the new call of s3 getHead

Related to #66 and a fix proposed in #67, however needs to be expanded to all nodes.

Related to #66 and a fix proposed in #67, however needs to be expanded to all nodes.

Should be fixed

Should be fixed


Design questions around CDC stream handling and loading

I'm running into a some errors with running 32blit flash and have some design questions with respect to the flash loading process and robustness.
Receive buffer design
This is a bit of a nit, but why is CDCDataStream not designed as a circular buffer?  The memmove at the beginning would not be required, and the resulting portion of AddData would be either 1 or 2 memcpy's.  Given that GetDataOfLength is always reading one byte at a time, it wouldn't change a lot.
As a more serious flay, is it possible for AddData to be invoked such that CDCDataStream could overflow?  There is currently no handling around data overflow in CDCDataStream itself, so it is unclear what in the system design ensures that overflow will not occur.  What is the justification for not having bounds checking in CDCDataStream itself?  Is it possible that CDCDataStream::AddData overflows in some circumstances, and is just not being detected?
Loading process robustness
As far as I can tell, the loading process is a blind write from the host to the device (e.g. https://github.com/32blit/32blit-tools/blob/a520a742450c8da97f88f6c0ce74ac0038093e02/src/ttblit/core/blitserial.py#L114-L126 ).  The device side is dependent on receiving all the bytes, or the loader will remain stuck waiting for bytes (see: https://github.com/32blit/32blit-sdk/blob/3437f5b7b318302000cf43a5029ad135e73f1f1a/firmware/firmware.cpp#L961-L963).
What provides the guarantee that all bytes written from the host will be received by the device and written to disk?  When loading larger .blit files I've seen the device appear to be "stuck", which would potentially match a situation where bytes were lost.  Why was this approach taken over approaches that could ensure robustness (e.g. packetized transmission w/ ACK/retry protocol).
Overall data transfer validation
There does not appear to be a post-transmission data check to ensure post-write data validity to the flash or SD card, e.g. CRC / SHA-xxx hash.  The STM32H7 appears to have a HASH processor peripheral capable of doing accelerated SHA-1 / SHA-256 calculations.  What is the reason for omitting some form of post-write validity check during loading?

This is a bit of a nit, but why is CDCDataStream not designed as a circular buffer? The memmove at the beginning would not be required, and the resulting portion of AddData would be either 1 or 2 memcpy's. Given that GetDataOfLength is always reading one byte at a time, it wouldn't change a lot.

It originally didn't buffer at all there, I added that to fix an issue with a word being split across two FIFO entries. Went with the smallest change I guess.

As a more serious flay, is it possible for AddData to be invoked such that CDCDataStream could overflow? There is currently no handling around data overflow in CDCDataStream itself, so it is unclear what in the system design ensures that overflow will not occur. What is the justification for not having bounds checking in CDCDataStream itself? Is it possible that CDCDataStream::AddData overflows in some circumstances, and is just not being detected?

It shouldn't be (not that anything verifies this). The most that can be added in one call is 64 bytes, and the most that can be left in the buffer should be <= 3 bytes as the only time a handler returns without finishing/erroring and with data left in the CDCDataStream is if it wants to read a word and there isn't one. (Also starting a new command/handler discards any data left in the stream).
TBH when I wrote the code that relies on reading words I thought the streaming code would handle that across FIFO entries. It didn't, so I added the buffering in CDCDataStream. A couple more fixes just went in because it still wasn't quite right.
For the rest I don't think there's any reason other than nobody writing the code. All the USB serial stuff was a contribution from a beta tester... (Says the beta tester with excessive contributions). (Though I guess you could describe the USB level as "packetized transmission w/ ACK/retry protocol"?)


Use conditional compilation to specify which runtime to include in a node

Current implementation of a node contains both the main and the testing runtime. Use conditional compilation to include only one runtime specified by a flag. It will be no longer required to rename a binary when launching a parachain containing the testing runtime using the polkadot-launch tool.

Deprecated


Test Cases in Test Suites Being Overwritten

Hi there,
Nice work on this.  It looks great!
tl;dr
:question:  is there a way to generate a single report covering multiple test cases in a test suite?
:question:  Bonus question:  if the above is possible, can each test sweet have it's own section within the report?
Detailed Description
I'm probably doing something dumb, but I'm seeing some unexpected behavior when running the tests, using a test suite.
In short, running a report when there are many test cases results in:
Generating HTML reports...
Template is not specified, load default template instead.
Template is not specified, load default template instead.
Template is not specified, load default template instead.
Reports generated: /path/reports/2018-08-17-16-37-21.html, /path/reports/2018-08-17-16-37-21.html, /path/reports/2018-08-17-16-37-22.html

:thinking: side question:  where are the templates and/or how to your create and use them?

From the above, it looks like the reports are overwriting themselves:

2018-08-17-16-37-21.html
2018-08-17-16-37-21.html
2018-08-17-16-37-22.html

If I define a report name kwargs, only one report is generated with the results of only one test case.
There are a couple scenarios:

Two test cases in a suite.  Only the last one is displayed in the report:

Three test cases in the suite, with one of them being skipped, only the skipped test case shows in the report, even though that's not the last test case being run.

The code is below.  I test between scenarios by interchanging bst, which is the skipped test case:
suite = unittest.TestSuite([anagrams, capitalize])

suite = unittest.TestSuite([anagrams, bst, capitalize])

runner.py
import unittest
from pyunitreport import HTMLTestRunner
from tests.test_anagrams import AnagramsTests
from tests.test_bst import BinarySearchTreeTests
from tests.test_capitalize import CapitalizeTests

loader = unittest.TestLoader()
anagrams = loader.loadTestsFromTestCase(AnagramsTests)
bst = loader.loadTestsFromTestCase(BinarySearchTreeTests)
capitalize = loader.loadTestsFromTestCase(CapitalizeTests)

suite = unittest.TestSuite([anagrams, bst, capitalize])

kwargs = {
    "output": ""
}

runner = HTMLTestRunner(**kwargs)
runner.run(suite)

One thing that I haven't done is modify the test files individually.  Each of them have the following:
if __name__ == "__main__":
    unittest.main()

I've got like fifty test files, so before I go off and change them all, I thought I'd ask.

Hi there,
I just realized that yours is a fork of another repo and there's a pull request on that repo along the lines of what I'm asking.
So... never mind :blush:

I could do a little bit of tweaking and do the #1 of it. If you want I can
share.
As per #2, the jinga2 needs to be understood and once I'm done I can share
that too
Thanks,
KC
+91-9096694574
On Fri 17 Aug, 2018, 4:37 PM Kim Ford<EMAIL_ADDRESS>wrote:

Hi there,
I just realized that yours is a fork of another repo
https://github.com/oldani/HtmlTestRunner/pull/32 and there's a pull
request on that repo along the lines of what I'm asking.
So... never mind 😊
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/HttpRunner/PyUnitReport/issues/4#issuecomment-413832806,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AmswUG8XdI3PU83vUhy7gbqa2-AKD6WGks5uRqQEgaJpZM4WBTlg
.

Thanks @krchug.  I wound up using a different fork, which is currently working nicely.


[const-expr] Add a larger nicer test with destructure.

Just adding a test

@swift-ci smoke test and merge


Update django-oauth-toolkit to version 1.3.0

Description of change
This updates django-oauth-toolkit to version 1.3.0.
(This wasn't picked up by dependabot as we'd pinned oauthlib, due to oauthlib 3.x being incompatible with django-oauth-toolkit 1.2.0.)
Changelogs:

https://github.com/jazzband/django-oauth-toolkit/blob/master/CHANGELOG.md
https://github.com/oauthlib/oauthlib/blob/master/CHANGELOG.rst

(The invalid_scope status code was changed from 401 to 400 in oauthlib 3.0.0.)
Checklist

[ ] If this is a releasable change, has a news fragment been added?

Explanation
A news fragment is required for any releasable change (i.e. code that runs in or affects production) so that a corresponding changelog entry is added when releasing.
Check changelog/README.md for instructions.

[x] Has this branch been rebased on top of the current develop branch?

Explanation
The branch should not be stale or have conflicts at the time reviews are requested.

[x] Is the CircleCI build passing?

General points

Other things to check

Make sure fixtures/test_data.yaml is maintained when updating models
Consider the admin site when making changes to models
Use select-/prefetch-related field lists in views and search apps, and update them when fields are added
Make sure the README is updated e.g. when adding new environment variables

See docs/CONTRIBUTING.md for more guidelines.

I gave the following a test in UAT:

logging in via the front end
viewing an OMIS order in the OMIS front end

Both worked fine for me.


[signup] “Stick to our rules!” page missing

Environment
iPhone 8 / browser: Safari
Steps to repro

Access  https://develop--frontend.preview.coucher.org/
Press “Sign up”
Enter valid email address
Press “Sign up”
On signup email, click the link
Fill in all fields correctly
Press "Sign up" button

Expected results

Actual results

“Stick to our rules!” screen missing
once all data is filled correctly and the user presses "Sign up", they are taken to a scrolled-down by default home page

We should probably add this as a requirement before the user gets out of jail? Does that require backend change @aapeliv?

Done now!


Capacitor Support for Code Push

I would like to request capacitor support for Code push.  We are looking to migrate from Cordova to Capacitor. However, we are reluctant since Code Push is not yet supported. We really value having Code Push as a part of our application, and we would love to see a capacitor plugin created for Code Push.

Thank you for your request. Looks like there's good progress on reactions already :D

Any updates here? Our team is trying out https://github.com/areo/capacitor-codepush in the interim.

@dwasyluk - how have you got on with that plugin?  I was looking at AppFlow for live deployments of our ionic/capacitor app and I assumed App Centre would provide that until I saw this issue - does that plugin work well for you?

Any update?

@dwasyluk Did you have any success with the plugin you mentioned?

Take a look at this issue. Some folks are working on this.

You can migrate to Capgo : https://capgo.app/blog/appcenter-migration/


Youtube dlg bug

Hi!
I have an issue of youtube dlg.
[04/19/23 21:34:18] [debug] youtube-dl version 2021.12.17
[04/19/23 21:34:18] [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[04/19/23 21:34:18] [debug] exe versions: ffmpeg 3.3.2, ffprobe 3.3.2
[04/19/23 21:34:18] [debug] Proxy map: {}
[04/19/23 21:34:18] ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[04/19/23 21:34:18] Traceback (most recent call last):
[04/19/23 21:34:18]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
[04/19/23 21:34:18]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
[04/19/23 21:34:18]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
[04/19/23 21:34:18]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\youtube.py", line 1794, in _real_extract
[04/19/23 21:34:18]   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1012, in _search_regex
[04/19/23 21:34:18] youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[04/19/23 21:34:18]
Can you check it? Thanks!!!<!--
######################################################################
WARNING!
IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################
-->
Checklist

[ ] I'm reporting a broken site support issue
[ ] I've verified that I'm running youtube-dl version 2021.12.17
[ ] I've checked that all provided URLs are alive and playable in a browser
[ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ ] I've searched the bugtracker for similar bug reports including closed ones
[ ] I've read bugs section in FAQ

Verbose log

PASTE VERBOSE LOG HERE

Description

WRITE DESCRIPTION HERE

#30839 !


Allow to define the style of imported GeoJson layers

Linked to https://github.com/kalisio/kMap/issues/55, will simply open the styling component before import.

Better to use a default styling or the one provided in GeoJson, then the user might use the style editor to update it.


Twitter dependencies

Is it possible to separate out all the twitter dependencies into a separate project? Currently there's a lot of overhead requiring them as a dependency for those projects who don't rely on twitter futures/durations/etc

Hi @jknight12882,
We are very heavy users of Finagle internally and many of our products are built entirely on the Twitter stack. As a result, Scala concurrency support was added as a complementary choice to Twitter. We have yet to find a way in which support can be as painless and you are among the first to report the overhead, quite frankly the runtime overhead is 0, all you get is 15 more seconds of dependency resolution time.
We can accept pull requests but otherwise there this is probably not a high priority item as we see it, mainly as there are things like prepared statements to complete.
Regards.

@alexflav23 thanks for the quick response. The overhead is in distribution and developer convenience.
For example, we use sbt-native-packager to distribute our app. As part of this, all dependencies are included as a "fat jar", so we are taking the overhead of having to include all those Twitter classes that are unused.
As for developer convenience, we are heavy users of the standard Scala Future, so every time the IDE tries to autocomplete and import, it select the Twitter version first now (although this can be solved inside the IDE itself).
Definitely not as high a priority as prepared statements, but I thought I'd throw it out there


Fixed warning regarding ProgressBarAndroid. Using ActivityIndicator instead

ProgressBarAndroid is deprecated. Using it gives warning. Instead using ActivityIndicator, which works Android as well.

Is anyone maintaining this repository anymore?

@brentvatne @ide @skevy

Thanks!

Published as 0.4.0.


Sync with crypto team to add DEK signing/blinding to ODIS requests

See https://www.notion.so/clabsco/ODIS-Replay-Handling-dc41b91e61fc4aff97e05679f65153b2

Synced with Kobi and added this ticket to track implementation support work on the crypto team side https://app.zenhub.com/workspaces/celo-5d94ef61d9b1e40001114c02/issues/celo-org/celo-monorepo/7950

Related:
https://app.zenhub.com/workspaces/cap-backlog-board-600598462807be0011921c65/issues/celo-org/celo-monorepo/7950


Provides a CubeCamera utility to generate environment map from a scene

Solved one task in #338 . We also need a PMREM generator to generate physically-correct environment maps.
Usage and effects are shown in the dynamic_env_map.py example.

By the way, I also found that the current SkyBox rendering is still incorrect. I will propose a new PR to explain this problem and try to solve it.

I updated the code. Now CubeCamera uses an independent renderer to generate a cubemap.


Refactor 1

This PR reorganizes the routes registration and app initialization.

Looks great!
Very much increases the readability and simplicity of the code involving the routes and setup of the Express app, router, and middleware. Great idea to encapsulate the index.js file into one main function, as well as removing the node modules.


Incompatible Diamond Version

Hello,
I'm getting problem similar to #4 using the downloaded CAT databases (2018-12-12).
Error: Database was built with a different version of Diamond and is incompatible.
[2019-03-11 23:37:55.541631] ERROR: Diamond finished abnormally.

I'm running Diamond v<IP_ADDRESS>, and installed everything from bioconda, which should have compatible Diamond versions. Which version of diamond was the 2018-12-12 CAT database built with?
$ CAT -v
CAT v4.3.3 (December 14, 2018) by F. A. Bastiaan von Meijenfeldt.

Jeff

Hi Jeff,
Yes, this is a known problem with Diamond. The 2018 database was build with Diamond v0.9.14.
For now, the 20190108 database (http://tbb.bio.uu.nl/bastiaan/CAT_prepare/CAT_prepare_20190108.tar.gz) is compatible with your (and the bioconda) version of Diamond. I'm thinking of more viable solution to having different versions of the databases online.
Hope this helps for you, let me know if you have further questions!

Thanks for the help. Rather than re-download the rather large reference database, I just downgraded by Diamond install to v0.9.14, and CAT now works.
Thanks again,
Jeff

Great! Let me know if you have other questions!
Bastiaan

Hi Menia,
What database version did you download? Within the database folder there is a file called {DATE}.CAT_prepare.fresh.log, which shows the DIAMOND version that was used for the database construction! For example, in the 20190719 version of the database files, you'll find:
[2019-07-19 19:42:52.803479] DIAMOND found: diamond version 0.9.21.
We are still thinking of making this a little easier (supplying a version of DIAMOND ourselves for example). For now, I hope this helps!
Best wishes,
Bastiaan

Hi Bastiaan,
I installed diamond version 0.9.21 and it worked.
Thanks for your fast response.
Cheers!
Menia


Add github actions to auto-comment after successful merge of the pr.

I noticed @ridsuteri commenting this after every successful approval of the changes of a pr . Would you like to have a bot to auto-comment after you approve the changes or merge the pr in order to save time?

sounds great @AB-san ! go ahead with it :)

sounds great @AB-san ! go ahead with it :)

Hello @ridsuteri done with coding part , I wanted a small favour-
Can you please mention the username of all the mentors for this project , who dont want a thank you message after their pr is merged.

@AB-san consider all of us i.e @ridsuteri @991rajat @harshgupta20 @urvashi-code1255 @Vishal-raj-1

@AB-san consider all of us i.e @ridsuteri @991rajat @harshgupta20 @urvashi-code1255 @Vishal-raj-1

Okay got it

Sorry to say but i found that the resources that i was trying to use isnt working well so , I needed some more time!! is there any deadline?

@AB-san oh ohk ! try to get this issue done as soon as possible

@AB-san oh ohk ! try to get this issue done as soon as possible

Sure!!!


De-dashify env vars and dashify help text in tests instead

Looks like some very old dashification went horribly wrong and this stayed unnoticed for ~3 years 🙈
Note: qa/pull-tester/rpc-tests.py is going to be "fixed" by #2590 , not touching it here to avoid merge conflicts.

Well, I mean, "search&replace" for some variable in just one part of the code without fixing it everywhere is already wrong. Doing so for env var should be a no-go but I did this for some reason and no one noticed, which is horrible :D


Prototype: Composable retry classifiers - enable composition in Azure.Core

Investigation into issue https://github.com/Azure/azure-sdk-for-net/issues/41465

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Core

Closing in favor of https://github.com/Azure/azure-sdk-for-net/pull/41595


Remove doc build (Not important)

R: @jeffposnick @addyosmani
I had this left on my local branch - minor rename of npm run script.

This looks fine. Going to wait for CI run to complete.


updated (O)IDs for interop test branch

This updates (O)IDs pursuant the liboqs changes to Kyber and Dilithium in the "standard" branch as discussed in https://github.com/open-quantum-safe/liboqs/pull/1537#issuecomment-1729399245.
Documentation generation excluded due to an upstream problem.

@bhess, @praveksharma FYI, I'm not yet moving this to Ready for Review until there's a decision on https://github.com/open-quantum-safe/liboqs/issues/1558

Thank you for taking this up @baentsch!

Documentation generation excluded due to an upstream problem.

I'm assuming you're referring to #261 here which has been resolved (thank you!) except the CI seems to complain about documentation not surviving code re-generation. Am I missing something?

Am I missing something?

No -- I missed to change this test to move off liboqs "main" to "standard". Now fixed. Good to merge (if you're fine with the IDs chosen).


transactionListener not called after subscription purchase - iOS Storekit2

Description
When I purchase a subscription, the transactionListener is not triggered.
It's not triggered until the app is restarted.
The old purchaseUpdatedListener does trigger, but since it's being deprecated, I probably shouldn't use that.
Expected Behavior
When transactionListener is listening, it should trigger when a purchase is made.
Environment:

react-native-iap: 12.10.8
react-native: 0.68.6
Platforms: iOS, physical iPhone 8, iOS 16.0.2, sandbox account for short duration subscriptions. Both release and debug builds.

I have different problem, it's called twice :D, similar setup as you have react-native-iap: 12.10.7 and react-native: 0.68.3. Share your code, it's probably not the library issue;)

Same with me

We're facing the same issue 😕
Any news on this?

Same issue. Has anyone found a solution to this?

same here

Likewise for me


[DOCS] how_to/distribute_anntoation_work

Learn how to distribute Records to Users and Workspaces for managing annotation efforts the way you require.

@sdiazlor We are expecting to  release a feature to automatically distribute records in 2.1.0. Maybe it makes sense to close this issue or at least put it on hold until this feature is out. Otherwise you might end up doing a lot of work that will get substituted soon. Let me know what you want to do and whether you want me to move this issue to the argilla repo or not.

@nataliaElv I agree on that, I knew you were working on this, so I didn't worry too much. It was just to keep it in mind. You can close it and we'll iterate on the docs when added.


For stix visualisation, tms is not working

Data is not rendering in the stix UI

There is issue of data format for the stix in the totaljs. With Single object , it working fine.

Due to some tms connectivity issue, data not able to sent. Now its working as tms is connected properly.


[ci skip] [cf admin skip] NO_CI adding bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I've added bot automerge as instructed in #3.
Merge this PR to enable bot automerging.
Fixes #3

@jg-rp this would save having to merge every PR here after a release. As long as the CI passes the PRs will be merged automatically. If you're happy to do this then feel free to merge this PR.


camel-quarkus-jira WatchUpdates Bug

Bug description
I have an camel endpoint: jira://watchUpdates?jiraUrl=${JIRA_URL}&username=RAW(${JIRA_USERNAME})&password=RAW(${JIRA_PASSWORD})&jql=RAW(project=CTT)&sendOnlyUpdatedField=false
To fetch issues that get updated, there is just one problem it is only the issues created before the route is started that is getting caught by the fetch, when updating the issues.  So new issues after the route is running are not getting caught by the fetch when they are updated.
This is for both creating a issue using an another route or creating it in jira (website) im not getting watchUpdates, if I dont restart the route, is there anything I can do to make this work ?

is there anything I can do to make this work

I am not super familiar with how watchUpdates works, but could you maybe handle this by tweaking the JQL? E.g ordering the results in descending order by id.

hmm the watchUpdates endpoint is just giving me the issue I updated something on, so I'm not getting more than one issue when the route start, the problem is the endpoint don't receive any updates if I create a Jira issue after the route have started, then the route is only trigged on those that was created before the route was started. If you want to see the issue I'm open to show you the problem :)

Apologies for the delay in responding. I think I may have found the cause:
https://issues.apache.org/jira/browse/CAMEL-20053

Hey thanks for looking into this, I would look forward to testing it when
it gets fixed :)
Den fre. 27. okt. 2023 kl. 09.48 skrev James Netherton <
@.***>:

Apologies for the delay in responding. I think I may have found the cause:
https://issues.apache.org/jira/browse/CAMEL-20053
—
Reply to this email directly, view it on GitHub
https://github.com/apache/camel-quarkus/issues/5427#issuecomment-1782458022,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASZ62Y4FJN6YVCN56AD3UOLYBNRLTAVCNFSM6AAAAAA6AGNVQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBSGQ2TQMBSGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

This will be fixed in the upcoming Camel Quarkus 3.6.0 release.


Remove php closing tags

Why remove that ？

Why remove that ？

php.net: If a file contains only PHP code, it is preferable to omit the PHP closing tag at the end of the file.
psr12: The closing ?> tag MUST be omitted from files containing only PHP.
And also for consistency, they are only present in these files.

Done, Thanks


Fix compileSdkVersion on newer flutter

Make a non-breaking change to ensure compatibility with the newer Flutter version and enable our app to build successfully.
in Android/build.gradle add:

ext {
    compileSdkVersion   = 34
}

Could anyone please merge this? The master branch is not working due to this for us targeting above sdk 31

please merge asap


removed trusty from docs to match docker ce build

Proposed changes
Removed Ubuntu Trusty (14.04 LTS) from docs since the build was removed from the docker ce code as well:
https://github.com/docker/docker-ce/commit/d2178be92a56cb45b25ebe9275340ef9cd54c8a6#diff-9be7b725da4b31d018cc9310c9d57ec9
This removes the need for the tab as well so I removed that structure.  I also bumped the example that mentions Trusty forward to Xenial (16.04 LTS)
Unreleased project version (optional)
This applies builds of docker-ce after 18.09.0.
Related issues (optional)
Link above.

Deploy preview for docsdocker ready!
Built with commit 1101a94df3c8591566d3061aeecd10856ca40ac8
https://deploy-preview-7894--docsdocker.netlify.com

Deploy preview for docsdocker ready!
Built with commit 1101a94df3c8591566d3061aeecd10856ca40ac8
https://deploy-preview-7894--docsdocker.netlify.com

Deploy preview for docsdocker ready!
Built with commit 1101a94df3c8591566d3061aeecd10856ca40ac8
https://deploy-preview-7894--docsdocker.netlify.com

The -ee version of this may need to be changed as well and, if anyone wants, I can include that, but I don't know if -ee has the same support structure.

@ahh-docker PTAL

The -ee version of this may need to be changed as well and, if anyone wants, I can include that, but I don't know if -ee has the same support structure.

For EE, we probably need to keep Trusty; Docker EE provides LTS versions of the Docker Engine, where versions 17.06, 18.03, and 18.09 are currently supported (and 17.06 and 18.03 still support being installed on Ubuntu 14.04 - see https://success.docker.com/article/compatibility-matrix)

@thaJeztah PTAL. thanks!

I see I did this already in
https://github.com/docker/docker.github.io/commit/5047fdee863cb65c5da45a49897868154ec07403, so looks like we no longer need this one

Thank you for your feedback! We have received and reviewed your changes. To remain consistent with existing technical specifications, we did not incorporate your suggested changes. If you have additional concerns, submit a new issue in this repository.


Add test coverage badge

Work for this issue will begin begin on branch work-liquid-labs/question-and-answer/91.


Reports: Multiselect hierarchy should require a user action to "apply"

When a user is making selections in a multiselect hierarchy, each click sends a new wave of updates to Tableau Server. If the user is making a change that requires several clicks to get to the desired state, this causes a lot of unnecessary updates.
Selecting from a hierarchy should open up a modal dialog, and no updates should be sent to Tableau until the modal is closed.

Fixed in v3.0.21.


Fixed DateTimeTest::testFixedSeedWithMaximumTimestamp

Seed for test is now dynamic (for this test), as dateTimeThisMonth uses the current date.

Duplicate of #1469 with similar solution

@fzaninotto do you have time to merge this one? It will fix all the other failing pipelines

Fixed by #1469


yfinance.download raises NonExistentTimeError when calling tzconversion.tz_localize_to_utc

Hi,
I got the same problem described here:
https://stackoverflow.com/questions/74361598/tz-conversion-pandas-yfinance
If I try to download Brazil's ibovespa tickers (i.e. vale3.sa, wege3.sa, etc), yfinance.download raises NonExistentTimeError.
Sample call: yf.download('vale3.sa', actions=True, progress=False, rounding=False)
Sample output: new_dates = tzconversion.tz_localize_to_utc(   File "pandas/_libs/tslibs/tzconversion.pyx", line 391, in pandas._libs.tslibs.tzconversion.tz_localize_to_utc pytz.exceptions.NonExistentTimeError: 2004-11-02 00:00:00
I tried the option ignore_tz = True and got the same result.
yfinance           0.1.86
pandas             1.5.1
Pandas' release notes for version 1.5.0 lists a fixed a bug in tz_localize, not sure if this is the cause.
UPDATE
I just saw that yfinance made a couple of changes related to timezones, this maybe the cause as well.
This may be related to daylight saving calendar changes in the past, but it does not make sense to declare an hour 'non existent' if one downloads a daily time series.
UPDATE
Yes, the time 2004-11-02 00:00:00 does not exist due to daylight savings:
2004–2005 | 2 November 2004 | 20 February 2005 | South | Southeast | Central-West

Cause is because code sets daily/weekly times to midnight then localizes, so our fault. Fixed in the PR.
Do you mind testing it first? Git branch patch/dst-nonexistent

Hi, I just upgraded yfinance to version 0.1.87 and the problem seems to be fixed.
Thanks a lot.


Create form-control-date input to manage Birthdays for Owners and Representatives

Create form-control-date input to manage Birthdays for Owners and Representatives
This PR updates the business-form and payment-provisioning components by adding a single input to manage date of birth, replacing the 3 separate inputs we previously had for day, month, and year.
While implementing, I had to adjust the existing layout since we removed 2 inputs. DOB and SSN are now on the same line when screens are wide enough.
Styling note: I chose to hide the calendar icon on the input for now - which removes the ability to click on the input and show the calendar picker part of the input. For right now, I wanted to leave that out so we can decide how to style it eventually.
Links
Closes #459
Developer considerations

On any task

[X] Previous unit and e2e tests are passing
[ ] Perform dev QA

Developer QA steps

[ ] Complete BusinessForm using new date input - try to break it plz
[ ] Complete PaymentProvisioning using new date input - try to break it plz

@colganmeanor
I don't know if we should consider this a bug or not. But the field allows inputting an year with more than 4 digits.
WDYT?

@colganmeanor I don't know if we should consider this a bug or not. But the field allows inputting an year with more than 4 digits. WDYT?

Oh that is interesting... I hadn't tried that.
Looking online, this seems to be a common complaint about the native html date input. :/
I'm seeing we could try to use javascript to prevent this behavior, but I'm not sure if there is a perfect solution. I was just trying out something like:
handleFormControlInput = (event: any) => {
    const target = event.target;
    const name = target.getAttribute('name');
    const value = target.value;

    // Limit the year to 4 digits
    const dateParts = value.split('-');
    if (dateParts.length > 0 && dateParts[0].length > 4) {
      dateParts[0] = dateParts[0].substr(0, 4);
      target.value = dateParts.join('-');
    }

    this.inputHandler(name, target.value);
    this.formControlInput.emit(target.value);
  }

But its not perfect, it makes sure that year is only 4 digits, but if you keep typing in the input it can just overwrite the 4 digits that are there with whatever next characters you type.
We do have validation in place for the input, that will never allow this.
export const dobValidation = (role: string) => {
  return (
    string()
    .test('min', 'Enter a valid date', (value) => {
      const date = new Date(value);
      const minDate = new Date('1902-01-01');
      return date >= minDate;
    })
    .test('age', `${role} must be at least 18 years old`, (value) => {
      const date = new Date(value);
      const minAgeDate = new Date();
      minAgeDate.setFullYear(minAgeDate.getFullYear() - 18);
      return date <= minAgeDate;
    })
    .transform(transformEmptyString)
  )
};

Even if using the allow-optional-fields prop a user should not be able to submit bad data.


[BUG] Cosmos ChangeFeedProcessor errors with invalid JSON when item already has the _lsn property

Describe the bug
I'm using the Cosmos ChangeFeedProcessor to read the changefeed for a specific container. If I insert a new item with the _lsn property defined, the Processor fails due to an InvalidJson object.
I am aware that the _lsn property is a hidden/private property but for our use case (Kafka Connectors), this is a plausible situation.

Caused by: com.fasterxml.jackson.core.JsonParseException: Duplicate field '_lsn'
 at [Source: (byte[])"{"_rid":"hwkqAK0U44o=","Documents":[{"id":"h4","_lsn":5,"_rid":"hwkqAK0U44oGAAAAAAAAAA==","_self":"dbs\/hwkqAA==\/colls\/hwkqAK0U44o=\/docs\/hwkqAK0U44oGAAAAAAAAAA==\/","_etag":"\"c0002e0e-0000-0800-0000-5fd3cd290000\"","_attachments":"attachments\/","_ts":1607716137,"_lsn":9}],"_count":1}"; line: 1, column: 275]
        at com.fasterxml.jackson.core.json.JsonReadContext._checkDup(JsonReadContext.java:204)
        at com.fasterxml.jackson.core.json.JsonReadContext.setCurrentName(JsonReadContext.java:198)
        at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextFieldName(UTF8StreamJsonParser.java:1039)
        at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:250)
        at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeArray(JsonNodeDeserializer.java:437)
        at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:261)
        at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:68)
        at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:15)
        at com.fasterxml.jackson.databind.ObjectMapper._readTreeAndClose(ObjectMapper.java:4576)
        at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2986)
        at com.azure.cosmos.implementation.RxDocumentServiceResponse.fromJson(RxDocumentServiceResponse.java:172)
        ... 71 more

To Reproduce

Clone and setup the sample ChangeFeedProcessor application
Add _lsn property with an integer value here
Result should look like:

            String jsonString =    "{\"id\" : \"" + id + "\""
                                 + ","
                                 + "\"brand\" : \"" + brands.get(i) + "\""
                                 + ","
                                 + "\"type\" : \"" + types.get(i) + "\""
                                 + ","
                                 + "\"quantity\" : \"" + quantities.get(i) + "\""
                                 + ","
                                 + "\"_lsn\" : 5"
                                 + "}";

Run the sample application. The application will error out when new items are being inserted

Code Snippet
As mentioned above, simply modify the Sample code as such:
Add _lsn property with an integer value here
Result should look like:

            String jsonString =    "{\"id\" : \"" + id + "\""
                                 + ","
                                 + "\"brand\" : \"" + brands.get(i) + "\""
                                 + ","
                                 + "\"type\" : \"" + types.get(i) + "\""
                                 + ","
                                 + "\"quantity\" : \"" + quantities.get(i) + "\""
                                 + ","
                                 + "\"_lsn\" : 5"
                                 + "}";

Expected behavior
SDK should update the _lsn property if it exists in the item body, rather than trying to add it again. Otherwise, the resulting object will end up with two _lsn fields, and thus being invalid JSON.
Screenshots
N/A
Setup (please complete the following information):

OS: Ubuntu (Codespaces specifically)
IDE : VSCode
Version of the Library used: azure-cosmos 4.8.0

Additional context
N/A
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

@milismsft please take a look at this.

Closing this because of inactivity, @sivamu  pls re-open if the issue still persists.


Is it possible to run multiple Laravel Project with only using 1 Laradock?

Hi, i'm very new with docker, and just learned about Laradock, and already read & watch some tutorials, but usually it's for running only 1 project at a time.
so my question is it possible to running multiple laravel project with only using 1 Laradock?
so let's say when I run the laradock, the projects are running, ex:

test.com
api.test.com
admin.test.com

I already followed this guide https://medium.com/@sorravitbunjongpean/running-multiple-laravel-sites-on-laradock-with-a-computer-which-port-80-is-occupied-2a2d4b274282,
but it doesn't working, I wonder because it's an old version of Laradock or what?
this is the error I get
laradock_docker-in-docker_1 is up-to-date
Recreating laradock_mysql_1 ...
Starting laradock_workspace_1 ... error

Recreating laradock_mysql_1   ... error1f343d92dcfcd0b308c77d2b6988a78c0e465ec7eb8188a): Error starting userland proxy: mkdir /port/tcp:<IP_ADDRESS>:2222:tcp:<IP_ADDRESS>:22: input/output error

ERROR: for laradock_mysql_1  Cannot start service mysql: driver failed programming external connectivity on endpoint laradock_mysql_1 (a868b48d072542c1cb4de1405e9bfb34aaeedaa64534f4c96ada8aa5caa030be): Error starting userland proxy: mkdir /port/tcp:<IP_ADDRESS>:3306:tcp:<IP_ADDRESS>:3306: input/output error

ERROR: for workspace  Cannot start service workspace: driver failed programming external connectivity on endpoint laradock_workspace_1 (3995ccefd3c8314781f343d92dcfcd0b308c77d2b6988a78c0e465ec7eb8188a): Error starting userland proxy: mkdir /port/tcp:<IP_ADDRESS>:2222:tcp:<IP_ADDRESS>:22: input/output error

ERROR: for mysql  Cannot start service mysql: driver failed programming external connectivity on endpoint laradock_mysql_1 (a868b48d072542c1cb4de1405e9bfb34aaeedaa64534f4c96ada8aa5caa030be): Error starting userland proxy: mkdir /port/tcp:<IP_ADDRESS>:3306:tcp:<IP_ADDRESS>:3306: input/output error
ERROR: Encountered errors while bringing up the project.

I sometimes get the userland proxy and programming external connectivity errors when starting up Laradock too. Restarting Docker fixes it for me. Let us know if it helps you.

// one laradock and multiple project
+ laradock
+ php-project-1
+ php-project-2
+ laravel-project-1
+ laravel-project-2

.env file set APP_CODE_PATH_HOST=../
and update nginx site config file
// nginx/sites/php-project-1.conf
root /var/www/php-project-1

// nginx/sites/php-project-2.conf
root /var/www/php-project-2

// nginx/sites/laravel-project-1.conf
root /var/www/laravel-project-1/public

// nginx/sites/laravel-project-2.conf
root /var/www/laravel-project-2/public

You can use only one configuration file and take advantage of regular expressions when using the server_name directive and service local.gd so you don't have to add entries in hosts file (e.g. local.gd.conf):
server {
    listen 80;
    listen [::]:80;

    server_name ~^(?<domain>.+)\.local(\.gd)?$;
    root /var/www/$domain/public;
    index index.php index.html index.htm;

    location / {
         try_files $uri $uri/ /index.php$is_args$args;
    }

    location ~ \.php$ {
        try_files $uri /index.php =404;
        fastcgi_pass php-upstream;
        fastcgi_index index.php;
        fastcgi_buffers 16 16k;
        fastcgi_buffer_size 32k;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        #fixes timeouts
        fastcgi_read_timeout 600;
        include fastcgi_params;
    }

    location ~ /\.ht {
        deny all;
    }

    location /.well-known/acme-challenge/ {
        root /var/www/letsencrypt/;
        log_not_found off;
    }

    error_log /var/log/nginx/$domain.error.log;
    access_log /var/log/nginx/$domain.access.log;
}

With this setup app SOME_APP is accessed through SOME_APP.local.gd. Files reside in /var/www/SOME_APP/public. Logs are written in SOME_APP.error.log and SOME_APP.access.log in logs foder.
If you want to use the hosts file, just add an entry like <IP_ADDRESS>       SOME_APP.local for every app.

@bestlong ,
If 1 laradock and multple project of laravel. how do you issue command npm install "dependecy name" on a certain project example laravel_project_c ?

@bestlong ,
If 1 laradock and multple project of laravel. how do you issue command npm install "dependecy name" on a certain project example laravel_project_c ?

@ezekel you should make a folder laravel_project_c under app root and just run cd /var/www/laravel_project_c && npm install

@bestlong  thank you I found out now


Any plan to move plugin to npm

Hello @VersoSolutions .
Corodova have announced that all plugins should be prepared to move to npm (read http://cordova.apache.org/announcements/2015/04/21/plugins-release-and-move-to-npm.html).
Please, hope you're making plans to move as well? Your plugin is very very important to thousands of developers.
Thanks

+1
according to this
http://phonegap.com/blog/2015/05/26/npm-plugins-available/

+1, @VersoSolutions please move to npm as soon as possible :)

bump @VersoSolutions

This has been published as cordova-plugin-clipboard.
@VersoSolutions if you could please update the README, that'd be great.

Bump @ctrevisan

hi @dcousens
a little strange
is the npm version fork by @VersoSolutions ?
because in the npm page
https://www.npmjs.com/package/cordova-plugin-clipboard
it have the "setText" and "getText" method，and seem it is a "BlackBerry" version
but in @VersoSolutions version
https://github.com/VersoSolutions/CordovaClipboard
it use "copy" and paste method，and it have android ios wp8
I think...them are not the same

@bau720123 you are correct,  I just got around to testing this,  and probably shouldn't have mentioned that so early without further testing.

It looks to me like @VersoSolutions have abandoned this repository/plugin because there's been no response from them ever since. If your project is seriously dependent on this plugin, I advise you download / clone it to your desktop and add it to your cordova projects locally.

Shall we fork?

@dcousens, do you know if some one already forked and published in npm?
If now, I'm looking forward to do so

@dcousens @lucasfeliciano if we fork, who will be responsible for active maintenance of the plugin??

I could do that, but the problem is that I know almost nothing about objective c so that might be a problem for maintain it.

@writeosahon I'm able to debug and perform some maintenance,  however going forward as things change,  its likely I would need contributor support for devices/platforms I can't test on.

@lucasfeliciano @dcousens ok guys!! in that case, go ahead and fork. Please leave a comment with a link to the fork in this thread so people interested can easily locate your fork and use it.
Thanks guys

I've published to NPM as "cordova-universal-clipboard":
https://www.npmjs.com/package/cordova-universal-clipboard
Please make pull requests to the repo:
https://github.com/Visigo/CordovaClipboard

we'll try to maintain the plugin.

thanks @AllSeeingEye


Autosave Output Slow and Huge

Firstly love this plugin Thanks!
I have let g:shfmt_fmt_on_save = 1 enabled and it works great. The only issue is that now I've enabled it when I save I get screens and screens of the code image below. The length of this varies from files to file and when it's one or 2 lines its ok. But when its pages, I save then have to sit and repeatedly hit more.
Any Idea how I can suppress this output?

I haven’t seen this behaviour before, but will take a look to see why this may be happening.

I have been using this plugin for years and never seen this issue, so I'm presuming it's some kind of specific vim config/plugin problem, so I'm closing this.


Collection of all available commands?

Is there a good list of all available commands? I am interested in mapping/remapping some of the shortcuts.
Some more instruction on how the index.ts file works is also helpful! For example, I see how Ctrl Y get mapped to "move a cell up" through the following "mappings". Yet, it is unclear where the command: notebook:move-cell-up is defined.
        commands.addKeyBinding({
            selector: '.jp-Notebook:focus',
            keys: ['Ctrl Y'],
            command: 'notebook:move-cell-up'
        });

Thanks a lot!

With some guessing work, possible arguments to the command: key include:

Those that are associated with JupyterLab, accessible through the "command window" (summoned by Ctrl+Shift+C)
command: 'notebook:change-cell-to-code'
command: 'notebook:change-cell-to-markdown'
command: 'notebook:change-cell-to-raw'
command: 'notebook:copy-cell'
command: 'notebook:cut-cell'
command: 'notebook:enter-command-mode'
command: 'notebook:enter-command-mode'
command: 'notebook:extend-marked-cells-above'
command: 'notebook:extend-marked-cells-above'
command: 'notebook:extend-marked-cells-below'
command: 'notebook:extend-marked-cells-below'
command: 'notebook:insert-cell-above'
command: 'notebook:insert-cell-above'
command: 'notebook:insert-cell-above'
command: 'notebook:insert-cell-below'
command: 'notebook:insert-cell-below'
command: 'notebook:move-cell-down'
command: 'notebook:move-cell-down'
command: 'notebook:move-cell-up'
command: 'notebook:move-cell-up'
command: 'notebook:paste-cell-above'
command: 'notebook:paste-cell-below'
command: 'notebook:split-cell-at-cursor'
command: 'notebook:undo-cell-action'
command: 'notebook:undo-cell-action'

Those natively defined within index.ts (syntax/reference unclear)
command: 'center-cell'
command: 'center-cell'
command: 'copy-cell-and-edit'
command: 'cut-cell-and-edit'
command: 'leave-insert-mode'
command: 'leave-insert-mode'
command: 'merge-and-edit'
command: 'paste-cell-and-edit'
command: 'run-cell-and-edit'
command: 'run-select-next-edit'
command: 'select-above-execute-markdown'
command: 'select-below-execute-markdown'
command: 'select-first-cell'
command: 'select-first-cell'
command: 'select-last-cell'
command: 'select-last-cell'

A single command from tooltip.
command: 'tooltip:launch-notebook'

Pending question

What were the syntax/source for all the natively defined functions/commands in index.ts?
What is tooltip, and where they were defined.


Update Sessions::compareTo to sort in reverse chronological order

Resolves #332.

Codecov Report
Base: 66.01% // Head: 68.13% // Increases project coverage by +2.12% :tada:

Coverage data is based on head (3f8cef0) compared to base (98dfb69).
Patch coverage: 92.85% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #336      +/-   ##
============================================
+ Coverage     66.01%   68.13%   +2.12%
- Complexity      682      708      +26
============================================
  Files           111      111
  Lines          2304     2313       +9
  Branches        241      244       +3
============================================
+ Hits           1521     1576      +55
+ Misses          707      660      -47
- Partials         76       77       +1

Impacted Files
Coverage Δ

...va/seedu/taassist/model/uniquelist/UniqueList.java
82.53% <90.90%> (+1.83%)
:arrow_up:

.../seedu/taassist/model/moduleclass/ModuleClass.java
77.14% <100.00%> (-2.27%)
:arrow_down:

...ain/java/seedu/taassist/model/session/Session.java
80.00% <100.00%> (ø)

...ain/java/seedu/taassist/model/student/Student.java
69.01% <0.00%> (+1.40%)
:arrow_up:

.../taassist/model/moduleclass/StudentModuleData.java
86.66% <0.00%> (+3.33%)
:arrow_up:

...ava/seedu/taassist/logic/commands/AddsCommand.java
92.30% <0.00%> (+17.94%)
:arrow_up:

.../taassist/model/student/MappedStudentViewList.java
72.54% <0.00%> (+33.33%)
:arrow_up:

...java/seedu/taassist/model/student/StudentView.java
88.46% <0.00%> (+88.46%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Fix reconciling in terminating job

We should return directly when job is in terminating or we'll meet some unexpected errors, like
Handling job with no workload.
{"level":"error","ts":"2023-02-06T04:09:44.2184079Z","caller":"job/job_controller.go:185","msg":"Handling job with no workload","controller":"job","controllerGroup":"batch","controllerKind":"Job","Job":{"name":"test-job","namespace":"e2e-rtjpd"},"namespace":"e2e-rtjpd","name":"test-job","reconcileID":"c1efba06-34d7-4a42-8156-7208741bb352","job":{"name":"test-job","namespace":"e2e-rtjpd"},"error":"workloads.kueue.x-k8s.io \"test-job\" already exists","stacktrace":"sigs.k8s.io/kueue/pkg/controller/workload/job.(*JobReconciler).Reconcile\n\t/workspace/pkg/controller/workload/job/job_controller.go:185\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:121\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:320\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:273\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:234"}
{"level":"error","ts":"2023-02-06T04:09:44.2186752Z","caller":"controller/controller.go:326","msg":"Reconciler error","controller":"job","controllerGroup":"batch","controllerKind":"Job","Job":{"name":"test-job","namespace":"e2e-rtjpd"},"namespace":"e2e-rtjpd","name":"test-job","reconcileID":"c1efba06-34d7-4a42-8156-7208741bb352","error":"workloads.kueue.x-k8s.io \"test-job\" already exists","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:326\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:273\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:234"}

This is strange because we'll process handleJobWithNoWorkload for no match workloads, but we emitted error workloads.kueue.x-k8s.io \"test-job\" already exists
Signed-off-by: Kante Yin<EMAIL_ADDRESS>
What type of PR is this?
/kind bug

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/hold still need to figure out something.

This is strange because we'll process handleJobWithNoWorkload for no match workloads, but we emitted error workloads.kueue.x-k8s.io "test-job" already exists

Found the reason, because the workload's ownerReference is removed, still finding out why.

/close
until we met this again, this is mocked in e2e test.


[SPARK-47356][SQL] Add support for ConcatWs & Elt (all collations)

What changes were proposed in this pull request?
Addition of support for ConcatWs and Elt expressions.
Why are the changes needed?
We need to enable these functions to support collations in order to scope all functions.
Does this PR introduce any user-facing change?
Yes, both expressions now will not return error when called with collated strings.
How was this patch tested?
Addition of tests to CollationStringExpressionsSuite
Was this patch authored or co-authored using generative AI tooling?
No.

thanks, merging to master!


Updates to README to be more accurate.

Problem
Quick updates to README to reflect current state of things.
Solution
Describe the approach you took. Link to any relevant bugs, issues, docs, or other resources.
Type of Change

[ ] 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
[ ] Infrastructure change (CI configs, etc)
[x] Non-code change (docs, etc)
[ ] None of the above: (explain here)

Test Plan
Describe specific steps for validating this change.

@ilshatahatov Review?


added checking for release versions on PyPI

Hi @mattpaletta, thanks for the PR.
This project attempts to replace usage of pip's internal API, but still continue to use pip. Generally that means that functions defined on pip-api's API should essentially be wrapping some command-line pip command. I can understand wanting to cut out the "middleman" here and just use PyPI's API directly, but it's important that this is the pattern used by this project.
To my knowledge, pip doesn't have a command that would give all versions for a given package, or the latest version of a package, so this might be difficult to implement.
If you could point me to some examples of how the internal pip APIs that this should replace are currently being used, it might be helpful to direct this PR.

OTOH, if you are looking for another home for this feature, https://github.com/hugovk/top-pypi-packages/issues/4#issuecomment-491150988 lists some suitable projects which publish metadata extracted from PyPI, and PyPI clients which have extra features like this.


Error: Why is json input stripped on quotes?

Hello,
Running (command and result copy pasted from the output):
with:
    command: network route-table update --force --route-rules '[{"destination":"<IP_ADDRESS>/0","destinationType":"CIDR_BLOCK","networkEntityId":"ocid1.internetgateway.oc1"}]' --rt-id "ocid1.routetable.oc1"
    query: data
    silent: false

creates this cmd with errors:
Executing Oracle Cloud Infrastructure CLI command
/home/runner/.local/bin/oci network route-table update --force --route-rules '[{destination:<IP_ADDRESS>/0,destinationType:CIDR_BLOCK,networkEntityId:ocid1.internetgateway.oc1]' -rt-id ocid1.routetable.oc1
Parameter 'route_rules' must be in JSON format.
For help with formatting JSON input see our documentation here: https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/cliusing.htm#ManagingCLIInputandOutput

Can you please provide a solution to overcome this?
Thank you

Escaping the JSON correctly can be challenging. Here's an example workflow that shows how I do it: https://github.com/Djelibeybi/oracle-actions-testing/blob/main/.github/workflows/run-oci-cli-command.yml

Glad you got it working!


Cleanup internal usage of qiskit.passmanager in qiskit.transpiler to avoid warnings

I guess until the code path really gets deprecated it doesn't really matter, but I just wanted to note that while testing the 1.0 beta I tried looking at all warnings and noticed that the
PendingDeprecationWarning: Building a flow controller with keyword arguments is going to be deprecated. Custom controllers must be explicitly instantiated and appended to the task list.

warning gets generated a lot internally by Qiskit. For instance, this code generates it:
import warnings

from qiskit import QuantumCircuit, transpile

warnings.simplefilter("default", PendingDeprecationWarning)

qc = QuantumCircuit(1, 1)
qc.measure_all()

transpile(qc, optimization_level=0)

Originally posted by @wshanks in https://github.com/Qiskit/qiskit/issues/10127#issuecomment-1839045170

I think this has been closed by https://github.com/Qiskit/qiskit/pull/11448. There's still a pending followup PR #11494 but I think the warnings flagged by this issue have already been fixed so I'm going to close this.


Assays/Module dependencies

In Container.getActiveModules(), it attempts to look at available assays and automatically add the modules they declare as active.  That's great, but if the assay declares a dependency on module1, and this module depends on module2, that's not added.  If we only turn on Module1 but not module2, we can get errors.  One could argue that's the developer's mistake; however, it seems like we could do a check here and avoid it.  there's no way for the user to go to the UI and turn on module1 w/o module2 automatically being added, so I'd argue we ought to do the same thing here.

@labkey-jeckels this is a minor PR that fixes a bug that can happen when creating containers.  i'll rebase in a minute, but it looks like the diff is what it should be.


Automatically use the current branch for take

Description
The take command defaults to the master branch, in many projects this has (or is changing to) main or versioned branch names instead.
Instead of changing the default to main the command should instead use the current branch-name as the base, and check if the branch is either a common name like: master, main, devel, develop, or an acceptable major.minor version syntax.
And ask for confirmation if this is not the case (to prevent mistakes).
In fact, the current situation is misleading:
$ hk take 290
Working on rollerworks/search (branch main)

fatal: The command "'git' 'checkout' 'upstream/master'" failed.

Resolved by #109 it's already possible to specify a different base, so I can consider this fixed.


Test Issue created at Sun, 12 Dec 2021 02:19:48 GMT

Test issue body  Sun, 12 Dec 2021 02:19:48 GMT

Comment on issue at Sun, 12 Dec 2021 02:19:50 GMT


Hotfix reverting change breaking oculus quest camera

Overview
Mistaken profile change broke the camera on oculus quest. reverting

/azp run

/azp run


MD029 Allow repeating zero's

Parameters: style ("one", "ordered"; default "one")

In addition to "one" and "ordered" may we also have a "zero" option?  In my personal opinion, using a zero is a better hint to the author and/or reader that using the 0/0/0 pattern is intentional (in anticipation of parsers that auto-number) and I've written many docs as such.
A different implementation might be to support any repeating number (n/n/n) with a consistent option but I can't imagine a scenario someone wanting to use a different number than zero or one.
Thoughts?  Too edge-case?

This example is the closest reference I could find in the commonmark spec.

A bit tangential but the commonmark example linked above also shows that ordered lists may start with zero and markdownlint doesn't appear to support that.

This has never come up, but seems legitimate. Lists that begin with 0 should be allowed per the specification. Which means 0/0/0 will be possible and so a new “zero” mode seems reasonable.

Isn't starting with zero just a special case of starting with any number, which the spec seems to allow? See also e.g. this example in the spec.
"Start numbers" are also mentioned in the section on list items where there seem to be some circumstances where "the start number must be 1", so maybe it's not possible in general. I'm afraid I'm not familiar enough with the spec, or this tool, enough to grok this - I just came across this while using your marvellous vscode extension, did a bit of digging, and came here... Thought I'd mention it in case it gets some attention from someone qualified to fix it. :-) . So that would allow an "x/x+1/x+2" pattern...?

I think what you say is correct - but as a linter, this tool is opinionated about what should be allowed instead of allowing  everything that is possible. The supported modes and the “zero“ mode seem well defined and common/meaningful; a scenario where a lists starts with any other number and increases feels like it would be an error more often than not and therefore it makes sense to warn when that is encountered.

Ah yes, good point, I wasn't looking at the linter in the right way there, but I totally see what you mean. I'd still love to see zeroes as a common special case though. :-)

Should be in the next round of updates!


Installing manually

Hi,
I tried installing manually by adding the:

Assets folder
CBFlashyTabBarController.h
Classes folder
info.plist

into my Xcode project but I get the following error in the console:
Unknown class BubbleTabBarController in Interface Builder file.
Unknown class CBTabBarItem in Interface Builder file.
I'm sorry if this is really obvious

Sorry for broken manual, i fixed it.
For manual installation you should add content of folder BubbleTabBar/Classes to your project.


add (backend): signup API endpoint

fix: issue #4
Created a signup API that
[x] stores data,i.e, name, email, password
[x] hashes password before saving to database
[x] creates a JSON Web Token and stores as a cookie

[X] done

[ X ] dsf


ActiveRecord::yaml_new raises DeserializationError if object not found

This silently overrides yaml standard logic thus breaks existing functionality (it is not required by yaml to have a persistent ar object to be able to load it from yaml representation by default and this should not be changed by a gem).
This is basically the same request with this one: https://github.com/collectiveidea/delayed_job/pull/282 but a bit refactored. The pull request was closed but not implemented previously. So the BUG is still present in the master branch.

this raise error make unexpected noise
if object was not found, there should be an other handler to capture it

Hi! If object not found it should be loaded by yaml anyway. And delayed_job should handle this case without raising an exception.


feat: Header Parameters

Related to #12.

@addshore you can see the progress of this in the Vercel link, and install the pkg.pr.new Package to get a preview.


Add bazel_sonarqube

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (bazel_sonarqube) have been updated in this PR. Please review the changes.


Prepend /fetch to file URLs

As part of https://github.com/DataBiosphere/azul/issues/2908 we will be removing the /fetch part from the URL of data files because most users will want the regular (non-fetch version) URLs. Any /repository/files/{uuid} URL can be converted to its /fetch counterpart by prefixing the URL path.

To avoid a deployment co-dependency between this and the blocking Azul issue, we should implement this in a way that prepends /fetch unless that prefix is already present. That way we can deploy this first and then deploy the Azul change.

I'll invert the blocking relationship to reflect this better.

Hi @danielsotirhos, can you clarify what you mean by a "regular URL", and how is it different from a URL that includes /fetch?

Updated ticket description. "Regular URL" was intended to mean a URL to the non-fetch version of the repository files endpoint. (/repository/files/{uuid} instead of /fetch/repository/files/{uuid})

Test Plan
I have updated the fetch URLs for direct downloads and project matrix downloads; confirm both downloads work as expected.


Write shadows

Alpha Shadow Prompts
Reducing functionality for simplicity:

[ ] Remove shadows with type: agent (see comments)
[ ] comment out reference to pass to LLM first
[ ] Add new shadows for prompts

Removed Shadow Prompts
Removed any agent type prompts
{
  being: 'shadow',
  categories: ['world events'],
  form: 'story',
  id: 'e3701fa2-7cc8-4a47-bcda-a5b52d3d2e2f',
  name: 'shadow_e3701fa2-7cc8-4a47-bcda-a5b52d3d2e2f',
  proxy: '/shadow',
  text: `What was happening in the world at the time?`,
  type: 'agent',
}

Added Shadow Prompts
{
  being: 'shadow',
  categories: ['personal', 'observation'],
  form: 'story',
  id: '6465905a-328e-4df1-8d3a-c37c3e05e227',
  name: 'shadow_6465905a-328e-4df1-8d3a-c37c3e05e227',
  proxy: '/shadow',
  text: `The mood of the scene was...`,
  type: 'member',
}